[MAGNOLIA-1603] Activating multiple inbox workitems (with subpages) throws an exception Created: 25/Jun/07  Updated: 23/Jan/13  Resolved: 30/Jun/08

Status: Closed
Project: Magnolia
Component/s: workflow
Affects Version/s: None
Fix Version/s: 3.6

Type: Bug Priority: Major
Reporter: zam6ak Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

3.1-SNAPSHOT


Issue Links:
relation
is related to MAGNOLIA-2121 activation: use a thread per subscriber Closed
is related to MAGNOLIA-2378 Parallel execution of workflows block... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

I had 2 workitems each of which contained about 50 or so subpages.
After "Proceeding" on one then the other I get an exception below..
If I "proceed" on one item then wait for command to finish then "proceeed" on the other item everything is fine...

ERROR info.magnolia.module.admininterface.commands.ActivationCommand 25.06.2007 00:04:15 – can't activate
info.magnolia.cms.exchange.ExchangeException: Message received from subscriber: : Message received from subscriber:
at info.magnolia.cms.exchange.simple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:253)
at info.magnolia.cms.exchange.simple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:204)
at info.magnolia.module.admininterface.commands.ActivationCommand.activateRecursive(ActivationCommand.java:150)
at info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:71)
at info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:153)
at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:140)
at info.magnolia.module.workflow.MgnlParticipant.consume(MgnlParticipant.java:110)



 Comments   
Comment by Sameer Charles [ 28/Jun/07 ]

Synchronized ActivationCommand.execute() on system level - needs better locking so we do not block all write requests to the server while activation

Comment by Jan Haderka [ 30/Jun/08 ]

Fixed as part of MAGNOLIA-2121 changes.

Generated at Mon Feb 12 03:28:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.