Bug 806802 - Cannot validate or save custom work item without parameters and results in Designer
Summary: Cannot validate or save custom work item without parameters and results in De...
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-26 09:32 UTC by Jiri Svitak
Modified: 2021-04-09 12:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
Exception in server log (3.55 KB, text/x-log)
2012-03-26 09:32 UTC, Jiri Svitak
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.