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

Disabling the workflow causes error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.3
    • 5.2.2
    • Base
    • None
    • 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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD