Bug 1001013
Summary: | Cannot open Guided Decision Table with 2 WID files present | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> | ||||||
Component: | Business Central | Assignee: | manstis | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Synek <rsynek> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.0.0 | CC: | 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: If you have two or more Work Item Definition files in your project, the system will not allow you to open any Guided Decision Tables in your project.
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-08-06 20:17:20 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: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1001027 | ||||||||
Attachments: |
|
Created attachment 790390 [details]
server log excerpt
Error as shown in the server log.
Update for ER4: The issue still persists, the malicious work item definition is the default one (generated when new .bpmn2 process definition is created). When this WID exists in a project, no guided decision table can be opened in this project. error message when opening the GDT: Unable to complete your request. The following exception occured: java.util.ArrayList cannot be cast to java.util.Map. I have found out that having only "Log" work item in the definition is sufficient to reproduce the issue: import org.drools.core.process.core.datatype.impl.type.StringDataType; [ [ "name" : "Log", "parameters" : [ "Message" : new StringDataType() ], "displayName" : "Log", "icon" : "defaultlogicon.gif" ] ] I've made "New Work Item Definition" (and the default template) work consistently with the Work Item Definitions generated with a new process. Verified on BRMS-6.0.0.ER5 |
Created attachment 790389 [details] error popup Description of problem: If you have 2 (or more) Work Item Definition files present, you cannot open any Guided Decision Table in your project due to: Unable to complete your request. The following exception occurred: java.util.HashMap cannot be cast to java.util.List. Until you delete both(!) WIDs, you won't be able to get to any GDT. Version-Release number of selected component (if applicable): 6.0 ER1 Steps to Reproduce: 1. Create 2 (valid) WIDs. 2. Create a new (or open an already existing) Guided Decision Table. 3. Wait for the editor. Actual results: Editor pane is empty, error popup shown instead. Expected results: Editor shown with the correct content, no error.