Bug 1036020 - Guided rule editor can not load a rule that contains Company( employees.size() == 0 )
Summary: Guided rule editor can not load a rule that contains Company( employees.size(...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER6
: 6.0.0
Assignee: Mario Fusco
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-29 08:28 UTC by Toni Rikkola
Modified: 2014-08-06 20:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:18:05 UTC
Type: Bug


Attachments (Terms of Use)

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.


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