[
https://issues.redhat.com/browse/DROOLS-5946?page=com.atlassian.jira.plug...
]
Toshiya Kobayashi moved RHDM-1570 to DROOLS-5946:
-------------------------------------------------
Component/s: executable model
(was: BRE)
Docs QE Status: NEW
Key: DROOLS-5946 (was: RHDM-1570)
QE Status: NEW
Affects Version/s: 7.48.0.Final
(was: 7.1.0.GA)
(was: 7.9.0.GA)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Environment: (was: This issue is reproducible on all releases from RHDM
7.1.0 to 7.9.0.)
Project: Drools (was: Red Hat Decision Manager)
Binding a list written in MVEL expression causes a build error in
executable model.
-----------------------------------------------------------------------------------
Key: DROOLS-5946
URL:
https://issues.redhat.com/browse/DROOLS-5946
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.48.0.Final
Reporter: Toshiya Kobayashi
Assignee: Toshiya Kobayashi
Priority: Major
Labels: support
Attachments: reproducer_model_compiler_12a.zip
Binding a list written in MVEL expression like (\*1-1) causes a build error like (\*2) in
executable model.
This issue does not occur in build with executable model disabled.
(\*1)
{noformat}
package com.example.reproducer
import com.example.reproducer.Car
dialect "mvel"
rule "rule12a"
when
$car : Car( $group : ["compact", "medium",
"luxury"] ) // ..... (*1-1)
then
System.out.println("***** Which group " + $group + " is " +
$car + " categorized into?");
end
{noformat}
(\*2)
{noformat}
[ERROR] Failed to execute goal
org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel (default-generateModel)
on project reproducer_model_compiler_12a: Execution default-generateModel of goal
org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel failed: Encountered
unexpected token: "[" "["
[ERROR] at line 1, column 10.
[ERROR]
[ERROR] Was expecting one of:
[ERROR]
[ERROR] "+"
[ERROR] "++"
[ERROR] "-"
[ERROR] "--"
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)