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

NPE when rejecting request to unpublished

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Selected
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 5.7.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Thanks to Fabian Illsinger in SUPPORT-10120,

      when rejecting a "request to unpublish", the NPE error gets thrown

      Steps to reproduce:

      1. Start a fresh installed Magnolia instance with demo data
      2. Login with superuser
      3. Go to page /travel/tour-finder (which has already be published)
      4. Press unpublish -> in popup dialog press OK
      5. In Pulse Go to the "Unpublish request" -> "Assign to me"
      6. Press "Reject" -> in the dialog press "Save changes"
      7. In the log you see the following error ...

      The null pointer exception occurs, because the parameter "taskResult" is not available in the parameter map of function info.magnolia.module.workflow.jbpm.workitem.handler.RejectNotificationWorkItemHandler.getBody(WorkItem)

      Reference here for more detail.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            viet.nguyen Viet Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: