-
Bug
-
Resolution: Done
-
Major
-
7.9.1.GA
-
1
-
False
-
False
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2021 Week 13-15 (from Mar 29), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21)
When using "Formula" in Guided Rule editor and saving, there is no error reported, however, after closing the editor window and opening it again, the formula is getting truncated and becomes literal strings.
See attachment "original-rule.png" for screenshot of the original rule.
The screenshot "reloaded-rule.png" shows the same content being reloaded in the editor.
The "Source" of the original rule:
----------------------------------------
rule "rule-02862036" dialect "mvel" when CustomerProfile( name == "9008" , listValue contains ( String.join("-", "abc", "xyz") ) ) then
----------------------------------------
The "Source" when the same rule is reloaded:
----------------------------------------
rule "rule-02862036" dialect "mvel" when CustomerProfile( name == "9008" , listValue contains "String.join("-", abc" ) then
----------------------------------------
It is expected the same rule works also for formulas
----------------------------------------
rule "rule-02862036" dialect "mvel" when CustomerProfile( name == "9008" , listValue contains "String.join("-", $variableOne, $variableTwo ) then
- clones
-
DROOLS-6265 Guided Rule Editor: Formula with contains does not reopen correctly
- Closed
- relates to
-
RHPAM-2972 Guided Rule Editor: Call method on XYZ with formula containing quotes does not re-open correctly
- Closed