[jboss-jira] [JBoss JIRA] (DROOLS-3508) Build error with executable-model, multiple DRLs of the same package, mvel dialect

Luca Molteni (Jira) issues at jboss.org
Mon Jan 21 10:11:00 EST 2019


     [ https://issues.jboss.org/browse/DROOLS-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Molteni updated DROOLS-3508:
---------------------------------
    Sprint: 2019 Week 02-04


> Build error with executable-model, multiple DRLs of the same package, mvel dialect
> ----------------------------------------------------------------------------------
>
>                 Key: DROOLS-3508
>                 URL: https://issues.jboss.org/browse/DROOLS-3508
>             Project: Drools
>          Issue Type: Bug
>          Components: executable model
>    Affects Versions: 7.16.0.Final
>            Reporter: Toshiya Kobayashi
>            Assignee: Luca Molteni
>            Priority: Major
>              Labels: support
>
> 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.
> {noformat}
> [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:
> ...
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list