-
Bug
-
Resolution: Done
-
Major
-
7.1.0.GA, 7.9.0.GA
-
This issue is reproducible on all releases from RHDM 7.1.0 to 7.9.0.
-
1
-
False
-
False
-
Release Notes
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15)
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)
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
(*2)
[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] "--"
- incorporates
-
DROOLS-5946 Binding a list written in MVEL expression causes a build error in executable model.
- Closed