[MGNLWORKFLOW-374] NPE when rejecting request to unpublished Created: 27/Jun/19  Updated: 21/Dec/21  Resolved: 21/Dec/21

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.7.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
relation
is related to MGNLWORKFLOW-369 Unpublish rejection message is not re... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Support
Story Points: 3

 Description   

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

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)



 Comments   
Comment by Nguyen Phung Chi [ 21/Dec/21 ]

Same issue as MGNLWORKFLOW-369

Generated at Mon Feb 12 10:09:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.