[MGNLWORKFLOW-196] Update from 5.0.4 fails to update workflow definition Created: 23/Jan/14  Updated: 31/Jan/14  Resolved: 30/Jan/14

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.2.1
Fix Version/s: 5.2.2, 5.3

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLWORKFLOW-204 check md5 sums, when replacing bpmn d... 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:
Epic Link: update_5.0.4_to_5.2.2

 Description   
Magnolia jBPM Workflow Module (version 5.2.1)

    Expected MD5 sum 'd44503c6777e2c8c6aa0491c27beb6f0' of workflow definition ('704ef50243e73bd2276491a21fb36a94') did not match. Was workflow definition changed? Will not update to new workflow definition.
    Expected MD5 sum 'b2033d67ead5fe1f34e293b1f4f8231e' of workflow definition ('e57c60427b4a83844960c1185723b6a7') did not match. Was workflow definition changed? Will not update to new workflow definition.


 Comments   
Comment by Roman Kovařík [ 30/Jan/14 ]
  • The warn message is not accurate. I would expect
    • to know which definition failed to update
    • and something like:
      Expected one of MD5 sums '[d6b1dd21a2c669fc12d436049230887e, 704ef50243e73bd2276491a21fb36a94]
      2014-01-30 13:48:32,167 WARN  info.magnolia.module.InstallContextImpl           : > Expected MD5 sum '[d6b1dd21a2c669fc12d436049230887e, 704ef50243e73bd2276491a21fb36a94]' of workflow definition ('066cbd0718be0aae9bc7b8452540be2e') did not match. Was workflow definition changed? Will not update to new workflow definition.
      
  • Update from Workflow 5.0 to 5.2.2 failed to update to 5.2.1. The definitions are updated later with delta 5.2.2 but that's not probably how it should be
    (Installation logs warning and I looks like the definitions were not updated).
    You can see these warn messages also in the test JbpmWorkflowModuleVersionHandlerTest.testUpdateTo522CheckIfNewWorkflowDefinitionsWereInstalled().
Comment by Philip Mundt [ 30/Jan/14 ]

Change message of task to be more informative; merge the delta of "5.2.1" and "5.2.2" to one single delta "5.2.2"; Adjust tests.

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