[MGNLFORUM-239] As a forum-admin i can activate forum-content. Created: 19/Feb/14  Updated: 24/Feb/14  Resolved: 19/Feb/14

Status: Closed
Project: Forum (closed)
Component/s: Admin-UI
Affects Version/s: None
Fix Version/s: 3.3

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

While it shouldn't be possible ro activate maessages - their just can be approved or rejected on the public instance -
it must be possible to acivate forum- and thread-nodes.



 Comments   
Comment by Roman Kovařík [ 20/Feb/14 ]

Activation fails with exception:

2014-02-20 11:46:12,647 ERROR info.magnolia.module.activation.ExchangeTask      : Failed to deactivate content.
info.magnolia.cms.exchange.ExchangeException: Message received from subscriber: Activation failed | Target node 60fba126-d051-4fcd-919b-5b7477006775 of REFERENCE property does not exist
	at info.magnolia.module.activation.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:426)
	at info.magnolia.module.activation.SimpleSyndicator$2.runTask(SimpleSyndicator.java:108)
	at info.magnolia.module.activation.ExchangeTask.run(ExchangeTask.java:75)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)
2014-02-20 11:46:12,652 ERROR info.magnolia.module.activation.SimpleSyndicator  : Message received from subscriber: Activation failed | Target node 60fba126-d051-4fcd-919b-5b7477006775 of REFERENCE property does not exist
info.magnolia.cms.exchange.ExchangeException: Message received from subscriber: Activation failed | Target node 60fba126-d051-4fcd-919b-5b7477006775 of REFERENCE property does not exist
	at info.magnolia.module.activation.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:426)
	at info.magnolia.module.activation.SimpleSyndicator$2.runTask(SimpleSyndicator.java:108)
	at info.magnolia.module.activation.ExchangeTask.run(ExchangeTask.java:75)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)
Comment by Christoph Meier [ 20/Feb/14 ]

Activation now works the same way it worked on M4.5.
The command is called "Publish" but actually activates all incl. subnodes with all messages, too.

Probably activating the message is NOT desired here.
... but activating without message(s) may also lead to problem(s), since nodetype-def. requires at least one message on a thread.;
and when activating a forum-node only which has a reference to the last message, this leads to an activation-error.

Comment by Christoph Meier [ 21/Feb/14 ]

For the moment we let it like is - recursive activation incl. messages - since it is the same behaviour like known from M4.5

Generated at Mon Feb 12 02:02:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.