[
https://issues.jboss.org/browse/DROOLS-3800?page=com.atlassian.jira.plugi...
]
Luca Molteni commented on DROOLS-3800:
--------------------------------------
This was fixed in
https://github.com/kiegroup/drools/pull/2300/files
While doing it, we discovered a new bug with the attached reproducer.
So if you want to verify it, please add "result != "OK" to the condition as
did here
https://github.com/kiegroup/drools/pull/2300/files#diff-64fe2a87cd932377e...
otherwise the rule with loop forever.
We're going to resolve the other bug in a separate JIRA
Parser error with executable-model on Map literal expression in
constraint
--------------------------------------------------------------------------
Key: DROOLS-3800
URL:
https://issues.jboss.org/browse/DROOLS-3800
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.18.0.Final
Environment: 7.18.0.Final
7.18.0.Final-redhat-00002 (RHDM7.3.0)
7.14.0.Final-redhat-00004 (RHDM7.1.2)
Reporter: Hiroko Miura
Assignee: Luca Molteni
Priority: Major
Labels: support
Attachments: MapLiteralTest.zip
When MAP literal expression is used in LHS like the following
{noformat}
when
$fact: Fact(
calc(["src":name, "target":"TEST"])
)
...
{noformat}
KieBase build as Executable Model fails with parser error like:
{noformat}
org.drools.javaparser.ParseProblemException:
Encountered unexpected token: "[" "["
at line 1, column 6.
Was expecting one of:
")"
{noformat}
This error does not happen when building this rule as normal kjar.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)