Uploaded image for project: 'Magnolia Workflow Module'
  1. Magnolia Workflow Module
  2. MGNLWORKFLOW-317

Upon changing configuration of workflow manager, no workflow can be executed until restart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.5.2
    • Component/s: None
    • Labels:
    • Documentation update required:
      Yes
    • Sprint:
      Basel 34
    • Story Points:
      3
    • Magnolia Release:
      5.4.6

      Description

      Timebox: 1h for finding an easy solution! Otherwise we might have to invest more time

      To reproduce:

      1. try to publish any page to confirm all is working and workflow is enabled
      2. go to /modules/workflow/config/workflowManager and change implementation class or simply add a property
      3. try to publish same page again ==> fails w/ exception attached

      Upon adding/editing property, workflow module is restarted which triggers restart of the engine. However something there doesn't deal w/ restart properly.

      Chosen solution

      Eventually it was decided not to touch the workflow engine during module reloads cause that would lead it into a broken, no longer working state. Instead we log a message about the need for restarting Magnolia to account for workflow configuration changes.

        Attachments

          Activity

            People

            • Assignee:
              fgrilli Federico Grilli
              Reporter:
              had Jan Haderka
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 4.5h
                4.5h