Red Hat Bugzilla – Bug 1264339
Guided rule editor: List contains condition missing bound value on re-opening guided rule
Last modified: 2015-11-05 23:44:31 EST
Created attachment 1074741 [details]
Document contains screenshots and steps to reproduce the issue.
Description of problem:
In Guided Rule Editor, customer is trying to add expression for List variables and trying to map it with Bound variable of another condition.
After saving, closing and reopening same rule in guided rule editor, bind variable with List condition is removed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a Project and by import following facts.
2. Create one Guided rule.
3. Use fact “MyTransactionVO” which contains MyData .
4. Use “DataList” fact and map dataList with bounded variable and rule looks like below:
MyTransactionVO( $myData : myData)
DataList( myDataList contains $myData)
5. Save the guided rule, close it and try to reopen same rule.
6. Once you re-open it. At GUI level, bounded variable will be removed but no change at source code level.
There should be no change in the rule at GUI level even if it has been saved, closed and reopen number of times.
After reopening the rule in guided rule editor bounded variable has been removed but no change at source code level.
I have attached Document which contains screen shots and all steps to reproduce the issue.
Created attachment 1074742 [details]
Components/Facts jar which is being used with the attached reproducer project.
Created attachment 1074743 [details]
Project repository which contains guided rule - "ListOfValuesIssue.rdrl" - as a reproducer.
I tried to replicate this with 6.3.0.Final (Community), i.e. 6.2.0 (Product) and it works as expected. The rule re-opens identically to when it was authored and saved.
Set to MODIFIED to allow testing and verification by QE.
Reproduced with ER4.
Fixed in ER5.