The rule below expects that "B#" is set to value of the fact. However, "B;#"(i.e. ';' added before '#") is set incorrectly
dialect "mvel" rule "testRule" when $fact : Fact(); then $fact.name = "A#"; $fact.value = "B#"; System.out.println( $fact ); end
Here is output.
Fact [name=A#, value=B;#]
'#' within the value at 2nd appearance is treated as a start of comment.
- clones
-
RHDM-855 MVELConcequenceBuilder treats '#' within String incorrectly as a comment at 2nd appearance
- Closed