-
Bug
-
Resolution: Done
-
Major
-
6.x.x
-
-
-
-
-
-
- Clone the attached reproducer-repo.zip in business-central
- Open rule1 and rule2 with Guided Rule Editor
If a RDRL contains abbreviated combined relation conditions in LHS, Guided Rule Editor doesn't render the RDRL correctly. Note that such RDRLs can be created by BRMS Migration Tool for BRMS 5.x to BRMS 6.4.0.
For example,
package org.kie.example.project1; rule "rule1" dialect "mvel" when org.kie.example.project1.Person(age != 1 && < 10 && > 5) then end
package org.kie.example.project1; rule "rule2" dialect "mvel" when org.kie.example.project1.Person(age != null && != 1 && < 10 && > 5) then end
So they are valid from DRL syntax point of view.
When opening these RDRLs in guided rule editor, it renders wrongly even in 'Source' tab. See attached screenshots.
- rule1.png
- rule1-source.png
- "&&" is rendered as "||"
- rule2.png
- rule2-source.png
- Only "age != null" is rendered.
- is cloned by
-
RHBRMS-2854 [GSS] (6.4.z) Guided Rule Editor doesn't render RDRL with abbreviated combined relation condition correctly
- Verified