Description of problem: I have created a simple rule that uses 'multiple' field constraints using Guided editor in BRMS 5.0.2. The important rule source snippet from the WHEN section looks like > Person( age < 0 || > "127" ) I have exported the repository (see attachments). When I import the repository in BRMS 5.1 or BRMS 5.2.0 up to ER4, I can open the rule with no problem. In BRMS 5.2.0 ER5, after importing the 5.0.2 repository, this rule cannot be open. 'Loading asset...' message flashes for a bit but nothing else happens. The rule doesn't open, no error message in server log. I have compared exported XMLs of the broken repository and a working repository both of which contained the same rule and found out there is a change in the internal BRL source of the rule. This change seems to affect rules with multiple field constraints. See (and diff) attached repository exports for the difference in the BRL rule source. Version-Release number of selected component (if applicable): BRMS 5.2.0 ER5 How reproducible: always Steps to Reproduce: 1. import broken 5.0.2 repository into BRMS 5.2.0 ER5 2. try opening 'brokenRule', nothing happens Actual results: the affected rules cannot be open Expected results: the affected rules should open
Created attachment 526240 [details] repository_502_broken.xml
Created attachment 526241 [details] repository_502_fixed.xml
This regression was caused by the recent changes to improve nested accessors (https://bugzilla.redhat.com/show_bug.cgi?id=724639). The fix was to ensure fields required by the improved nested accessor handling are populated in legacy models (i.e. stored in legacy repositories).
Fix verified.