Bug 1001027

Summary: Guided Decision Table: validation error when using a Work Item
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Radovan Synek <rsynek>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, lpetrovi, rrajasek, vigoyal
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Summary: A validation error occurs when the user tries to create a column that should execute a Work Item using a new default Work Item Definition file. There is no workaround for this issue at present. Cause: Consequence: Fix: Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:17:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1001013    
Bug Blocks:    
Attachments:
Description Flags
validation error
none
source none

Description Zuzana Krejčová 2013-08-26 11:04:16 UTC
Created attachment 790426 [details]
validation error

Description of problem:
I have a valid (according to the validation available in the GUI) Work Item Definition - the .wid file you get with a new (first) .bpmn2 process, called WorkDefinitions.wid.
If I create a column that should execute a Work Item and check it in a row, I get this on validation:

Unable to Analyse Expression 
org.kie.internal.process.instance.WorkItemManager wim = (org.kie.internal.process.instance.WorkItemManager) drools.getWorkingMemory().getWorkItemManager(); org.kie.internal.process.instance.impl.WorkItemImpl wiLog = new org.kie.internal.process.instance.impl.WorkItemImpl(); wiLog.setName( "Log" ); wiLog.getParameters().put( "Message", "AAARGH!" ); wim.internalExecuteWorkItem( wiLog );: [Error: unknown class or illegal statement: org.mvel2.ParserContext@297f08b1] [Near : {... orkItemManager wim = (org.kie.internal.process.ins ....}] ^ [Line: 4, Column: 0]



Version-Release number of selected component (if applicable):
6.0 ER1

Comment 1 Zuzana Krejčová 2013-08-26 11:05:19 UTC
Created attachment 790427 [details]
source

Comment 6 Radovan Synek 2013-10-17 08:51:37 UTC
Cannot be verified with BRMS-6.0.0.ER4 due to bug 1001013.

Comment 7 Radovan Synek 2013-12-03 13:38:28 UTC
Verified on BRMS-6.0.0.ER5