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): BRMS 6.1.0 How reproducible: Steps to Reproduce: 1. Create a Project and by import following facts. - MyData - MyTransactionVO - DataList 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: ~~~ import org.redhat.MyData; import org.redhat.DataList; import org.redhat.MyTransactionVO; rule "List_Of_Values_Issue" dialect "mvel" when MyTransactionVO( $myData : myData) DataList( myDataList contains $myData) then end ~~~ 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. Actual results: There should be no change in the rule at GUI level even if it has been saved, closed and reopen number of times. Expected results: After reopening the rule in guided rule editor bounded variable has been removed but no change at source code level. Additional info: 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.