-
Bug
-
Resolution: Done
-
Major
-
None
-
7.16.0.Final
-
2019 Week 02-04
-
-
NEW
-
NEW
With the conditions:
- Build by executable-model (-DgenerateModel=YES)
- 2 DRL files of the same package
- One DRL declares dialect "mvel" at package level
- The other DRL uses mvel in RHS (not declares dialect explicitly)
Rules in the latter DRL is parsed as "java" dialect hence results in the error.
[ERROR] testMultiDrlWithSamePackageMvel[FLOW_DSL](org.drools.modelcompiler.MvelDialectTest) Time elapsed: 1.185 s <<< FAILURE! java.lang.AssertionError: [Message [id=1, level=ERROR, path=src/main/java/org/pkg/Rules96a73300cc374c58aa6549f44675e57cRuleMethods0.java, line=36, column=15 text=age has private access in org.drools.modelcompiler.domain.Person], Message [id=2, level=ERROR, path=src/main/java/org/pkg/Rules96a73300cc374c58aa6549f44675e57cRuleMethods0.java, line=0, column=0 text=Java source of src/main/java/org/pkg/Rules96a73300cc374c58aa6549f44675e57cRuleMethods0.java in error: ...
- is incorporated by
-
RHDM-819 Build error with executable-model, multiple DRLs of the same package, mvel dialect
- Closed