Bug 1000464

Summary: Guided Editor doesn't work with 'contains' and 'excludes' operators
Product: [Retired] JBoss BRMS Platform 6 Reporter: Jiri Locker <jlocker>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: rzhang
Target Milestone: ER3   
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:15:42 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:

Description Jiri Locker 2013-08-23 13:40:56 UTC
Description of problem:
After a slight modification of mortgages model, it is possible to build a fact pattern using contains operator like this:

$is : IncomeSource( )
Applicant( incomes contains $is )

However when a .rdrl rule with this source is open, it is displayed incorrectly.

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

How reproducible:
-

Steps to Reproduce:
1. modify mortgages model (add 'incomes' field of type 'IncomeSource [0..N]' to Applicant)
2. create new Guided Rule and build the fact pattern from Description
3. save the rule, close it, open it again

Actual results:
The field name 'incomes' is missing and select boxes for operator 'contains' and bound variable '$is' are reset.

Expected results:
The result after re-opening the rule should be the same as it was saved:

There is an Applicant with:
  incomes [contains] [$is]

Additional info:

Comment 2 Jiri Locker 2013-09-26 15:40:03 UTC
Fixed in ER3.