Hide Forgot
Description of problem: In the guided rule editor (BRL) if you add a normal field constraint and then a formula to the same pattern the editor crashes. There is no work-around. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a new rule 2. Add a condition 3. Then do this in any order: 4. Add a "normal" restriction 5. Add a "formula" restriction Actual results: The editor crashes. Expected results: The editor shows both the "normal" and "formula" restrictions Additional info: Fix has been made to master.
Back-ported to 5.3.x branch.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The guided rule editor would crash when a normal field constraint and a formula were added to the same pattern.
Hi Mike, If you could let me know how this was resolved I'll add the information to the release notes. Thanks Lee
Sure Lee. There was an unhandled null pointer check that caused the problem. Formulas do not relate to a specific field so some code that examined the field name when parsing formula was failing. This only occurred if the Pattern contained regular constraints.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -The guided rule editor would crash when a normal field constraint and a formula were added to the same pattern.+An unhandled null pointer caused the guided rule editor to crash when a normal field constraint and a formula were added to the same pattern. This issue has been resolved and these circumstances no longer cause the guided rule editor to crash.
Thanks Mike.