Red Hat Bugzilla – Bug 803289
Uncaught Exception in message log after releasing assigned task
Last modified: 2016-07-31 21:14:12 EDT
Created attachment 569966 [details]
message log from jbpm console
Description of problem:
[FATAL] Uncaught Exception:
(TypeError): a is undefined
is logged to the message log in the jBPM Console, after a user releases a task assigned to him.
It shouldn't result in an exception (or it shouldn't be possible to release a task directly assigned to a user at all).
Version-Release number of selected component (if applicable):
BRMS 5.3.0 ER4
Find attached the Message log. All I did was: log into the console as krisv, start Evaluation process, type krisv and some reason into the form and submit. Then go to Personal tasks and release the self evaluation task. That's when the exception happens. After that, go to Group tasks and re-claim it, complete it.
The task couldn't be claimed by anyone else - other users don't see it in their group tasks.
Exception is caused by reloading both current user and groups task list while group task list tool is not yet available. Pull request available that reloads only user tasks since this is what user is working on while releasing tasks.
pull request available at: https://github.com/bpmc/bpm-console/pull/11
Note: this is a combined pull request for changes to the console regarding skip task.
Update status to ON_QA. Please verify them against ER6.