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

Disabling the workflow causes error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.3
    • 5.2.2
    • Base
    • None
    • Yes

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD