]
Toshiya Kobayashi updated DROOLS-5136:
--------------------------------------
Story Points: 4
Sprint: 2020 Week 10-12 (from Mar 2)
Compile error with String Map access and executable-model
---------------------------------------------------------
Key: DROOLS-5136
URL:
https://issues.redhat.com/browse/DROOLS-5136
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.34.0.Final
Reporter: Toshiya Kobayashi
Assignee: Toshiya Kobayashi
Priority: Major
In case of executable-module, a Map constraint with a literal value on left hand side:
{noformat}
Person("Value" == itemsString["Key"])
{noformat}
generates redundant double-quotations hence results in a compile error.
{code:java}
org.drools.modelcompiler.util.EvaluationUtil.areNullSafeEquals("Value",
"_this.getItemsString().get("Key")")
{code}