[MAGNOLIA-1046] ConcurrentModification exception while launching workflow Created: 13/Sep/06  Updated: 23/Jan/13  Resolved: 14/Sep/06

Status: Closed
Project: Magnolia
Component/s: activation
Affects Version/s: 3.0 RC2
Fix Version/s: 3.0 RC4

Type: Bug Priority: Major
Reporter: Sameer Charles Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File patch.txt     Text File patch.txt    
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:

 Comments   
Comment by Sameer Charles [ 13/Sep/06 ]

fixed

http://svn.magnolia.info/svn/magnolia/trunk/magnolia-module-workflow/src/main/java/info/magnolia/module/workflow/commands/flow/FlowCommand.java

Comment by Chris Miner [ 13/Sep/06 ]

What about simply replacing
map.remove(key);
in version 6341 with
iter.remove();

Seems like that would be semantically cleaner and possibly more efficient?

Comment by Chris Miner [ 13/Sep/06 ]

A patch of my suggested change.

Comment by Chris Miner [ 13/Sep/06 ]

The corrected patch. The first one didn't do away with the list of unsupported entries.

Comment by Sameer Charles [ 14/Sep/06 ]

It should not remove entries from the context but rather create another map for workflowItem

Comment by Sameer Charles [ 14/Sep/06 ]

Fixed

http://svn.magnolia.info/svn/magnolia/trunk/magnolia-module-workflow/src/main/java/info/magnolia/module/workflow/commands/flow/FlowCommand.java

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