Bug 803289

Summary: Uncaught Exception in message log after releasing assigned task
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Zuzana Krejčová <zkrejcov>
Component: jBPM ConsoleAssignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: kverlaen
Target Milestone: ER6   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
message log from jbpm console none

Description Zuzana Krejčová 2012-03-14 11:38:42 UTC
Created attachment 569966 [details]
message log from jbpm console

Description of problem:
[FATAL] Uncaught Exception:
com.google.gwt.core.client.JavaScriptException:
(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


Additional info:
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.

Comment 1 Maciej Swiderski 2012-04-02 16:57:12 UTC
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.

Comment 2 Ryan Zhang 2012-04-23 07:36:47 UTC
Update status to ON_QA. Please verify them against ER6.