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

Disabling the workflow causes error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.3
    • Component/s: Base
    • Labels:
      None
    • Release notes required:
      Yes

      Description

      For instance

      ERROR lia.module.workflow.commands.LaunchWorkflowCommand: Error launching workflow [activate].
      […]
      Caused by: java.lang.NullPointerException
      	at info.magnolia.module.workflow.jbpm.JbpmWorkflowManager.launch(JbpmWorkflowManager.java:68)
      

      Thing is, being disabled, the engine is (rightly) not started in info.magnolia.module.workflow.jbpm.JbpmWorkflowModule.start(..). However, instead of such a bad failure, we should simply warn the user that workflow is disabled. Ideally the workflow actions themselves could be disabled.

        Attachments

          Activity

            People

            Assignee:
            fgrilli Federico Grilli
            Reporter:
            fgrilli Federico Grilli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: