-
Bug
-
Resolution: Done
-
Major
-
None
-
7.59.0.Final
-
None
-
2021 Week 37-39 (from Sep 13), 2022 Week 17-19 (from Apr 25)
-
NEW
-
NEW
I have a scenario where it's needed to evaluate data from Map<String, Map<String, String>>.
There is a DSL for this purpose and currently works like it should, since the amount of rules in my project is getting huge I want to use an executable model.
To reproduce this scenario I used troubleticket drools example and it's available at [drools-test|https://github.com/ricamn/drools-test]
As said before, rule works as expected when running TroubleTicketExampleWithDSL, but when running maven clean package to generate executable model I got the following error:
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.59.0.Final:generateModel (default-generateModel) on project drools-test: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.59.0.Final:generateModel failed: Unable to get KieModule, Errors Existed: Error Messages:
[ERROR] Message [id=1, kieBase=TroubleTicketWithDSLKB, level=ERROR, path=org/drools/examples/troubleticketWithDSL/TroubleTicketWithDSL.dslr, line=-1, column=0
[ERROR] text=Unable to parse left part of expression: complexOptions["COMPLEX_OPTION"]["OPTION_1"]=="VALUE_1"]
- is related to
-
DROOLS-6158 executable-model test failure in test-compiler-integration MapConstraintTest
- Closed