Red Hat Bugzilla – Bug 813309
NPE when generating task forms and there is a human task, whose TaskName is not set
Last modified: 2016-07-31 21:11:25 EDT
Created attachment 578026 [details]
Description of problem:
NullPointerException is really not what user wants to see.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a process with a User task node
2. click Generate Task Form Templates
HTTP Status 500 (uncaught NPE)
Error message reporting which User task node is missing the TaskName value.
This is a bit crazy, but.. If you assign some group ID to the task, it does not throw that NPE, it will only generate a form for the process and won't generate it for the task. Assigning to a user doesn't have this effect.
Designer will only generate the task form it the User Task defines a TaskName attribute value. Otherwise it does not know what to call the task form.
issue was caused by missing io specification and additional check was introduced in designer to ensure proper handling.
Update status to ON_QA. Please verify them against ER6.
Confirmed that it is not picked in ER6. Change the status back
The fixed for this issue should be included in ER7. Please do verification on it.
Fix verified in ER7.