[jboss-jira] [JBoss JIRA] (DROOLS-639) Multiple declarations of the same fact from different packages are ignored or conflicting

Davide Sottara (JIRA) issues at jboss.org
Fri Oct 24 10:55:35 EDT 2014


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

Davide Sottara updated DROOLS-639:
----------------------------------
    Description: 
If a fact is (re)declared multiple times from different packages:
{code}
package p1;
declare Foo @propertyReactive end
{code}
and
{code}
package p2;
declare Foo @role(event) end
{code}

The two declarations result in a conflict. 
If the DRL files are in the same package, one of the declarations will be lost


> Multiple declarations of the same fact from different packages are ignored or conflicting
> -----------------------------------------------------------------------------------------
>
>                 Key: DROOLS-639
>                 URL: https://issues.jboss.org/browse/DROOLS-639
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 5.6.0.Final, 6.0.0.Final, 6.1.0.Final, 6.2.0.CR1
>            Reporter: Davide Sottara
>            Assignee: Davide Sottara
>
> If a fact is (re)declared multiple times from different packages:
> {code}
> package p1;
> declare Foo @propertyReactive end
> {code}
> and
> {code}
> package p2;
> declare Foo @role(event) end
> {code}
> The two declarations result in a conflict. 
> If the DRL files are in the same package, one of the declarations will be lost



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list