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
-
DROOLS-3678 MVELConcequenceBuilder treats '#' within String incorrectly as a comment at 2nd appearance
-
- Closed
-
- is cloned by
-
RHDM-856 [GSS](7.3.z)MVELConcequenceBuilder treats '#' within String incorrectly as a comment at 2nd appearance
-
- Closed
-