Bug 1036020

Summary: Guided rule editor can not load a rule that contains Company( employees.size() == 0 )
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toni Rikkola <trikkola>
Component: Business CentralAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:18:05 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:

Description Toni Rikkola 2013-11-29 08:28:31 UTC
Steps to Reproduce:
1. Make a Company fact type with employee field. Field type should be java.util.List
2. Make a rule using the employee field.
3. Save and reopen

Actual results:
Editor gives an error and opens an empty screen

Expected results:
Should reopen the same view.

Additional info:

Comment 2 Toni Rikkola 2013-11-29 08:35:37 UTC
https://github.com/droolsjbpm/drools/commit/95857b6f9
the unit test for this

Comment 3 Mario Fusco 2013-12-02 08:41:54 UTC
Apparently the problem is caused by the fact that the data model doesn't contains an entry for the java.util.List as it should. Toni is investigating on this.

Comment 4 Mario Fusco 2013-12-03 17:10:39 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/b3ace87d6

Comment 5 Sona Mala 2014-01-07 12:59:47 UTC
Verified for ER7. 
Guided rule is able to re-open.