[MGNLWORKFLOW-299] Persist process instances correctly when using error handling in the process Created: 23/Apr/15  Updated: 29/Apr/15  Resolved: 23/Apr/15

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: None
Fix Version/s: 5.4.6, 5.5

Type: Bug Priority: Neutral
Reporter: Espen Jervidalo Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

When using error handling in combination with asynch work items as we do for a failed publication the process did not get persisted correctly. So the persisted process was still pointing to the publication work item, whilst we were already dealing with the error and updating the task in Pulse.

As a result shutting down the system with a failed publication in Pulse would result in completed processes never being correctly removed from JCR. And probably some other weirdness as the workItem was not completed correctly either.


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