Bug 806802

Summary: Cannot validate or save custom work item without parameters and results in Designer
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Svitak <jsvitak>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: atangrin, mbaluch
Target Milestone: ---   
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: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Exception in server log none

Description Jiri Svitak 2012-03-26 09:32:52 UTC
Created attachment 572719 [details]
Exception in server log

Cannot validate or save custom work item without parameters and results in Designer. Or at least I think that it happens due to undefined parameters and results field. I have wrote following work item definition:

[
  [
    "name" : "MyTask",
    "displayName" : "MyTask",
    "icon" : "http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/defaultlogicon/binary",
  ]
]

It is not possible to validate this one. Designer responds "Invalid answer from server". Also it is not possible to save it, because after the save the Designer reloads and all the changes are lost. I have attached an exception from server log.

I would expect that designer work item editor would let me validate my work item definition that I could see existing problems, like in the graphical process designer. I don't know if custom work item can have empty parameters or results, but I think that it should be possible without problems.

Comment 1 Tihomir Surdilovic 2012-03-26 15:35:36 UTC
Fixed on master and 2.1.x branch. War also available on people.redhat.com/tsurdilo/designer/master. Please clear browser cache before retesting.

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

Comment 3 Jiri Svitak 2012-05-02 14:12:40 UTC
Verified in BRMS 5.3.0 ER6.