[jboss-jira] [JBoss JIRA] (DROOLS-5136) Compile error with String Map access and executable-model
Toshiya Kobayashi (Jira)
issues at jboss.org
Mon Mar 9 02:42:29 EDT 2020
Toshiya Kobayashi created DROOLS-5136:
-----------------------------------------
Summary: 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: Luca Molteni
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list