[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2221) duplicate function in different .drl files of same package silently overridden
Samuli Saarinen (JIRA)
jira-events at lists.jboss.org
Tue Sep 28 03:51:28 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553616#action_12553616 ]
Samuli Saarinen commented on JBRULES-2221:
------------------------------------------
This also affects rules with identical names (in Drools 5.1.0 as well).
> duplicate function in different .drl files of same package silently overridden
> ------------------------------------------------------------------------------
>
> Key: JBRULES-2221
> URL: https://jira.jboss.org/browse/JBRULES-2221
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-compiler (expert)
> Affects Versions: 5.0.1.FINAL
> Reporter: Wolfgang Laun
> Assignee: Mark Proctor
>
> Given package p and .drl files a.drl and b.drl, both in this package.
> If a.drl contains a function foo and b.drl a function foo, then b's function will silently supercede a's function, or vice versa. There is no indication of an error in the return value of kBuilder.getErrors().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list