[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1357) RuleBuildContext does not initialize package of rule
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Tue Feb 19 12:22:26 EST 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1357?page=all ]
Edson Tirelli closed JBRULES-1357.
----------------------------------
Fix Version/s: 4.0.5
5.0.0-M1
Resolution: Done
Fixed. Thank you for reporting.
> RuleBuildContext does not initialize package of rule
> ----------------------------------------------------
>
> Key: JBRULES-1357
> URL: http://jira.jboss.com/jira/browse/JBRULES-1357
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Drl Parser/Builder
> Affects Versions: 4.0.1, 4.0.2, 4.0.3
> Environment: n/a
> Reporter: Adrian Sox
> Fix For: 4.0.5, 5.0.0-M1
>
>
> When the RuleBuildContext constructs a Query or Rule in its constructor, it does not pass in the package name as a parameter; consequently, Rule.getPackage() always returns null.
> In a related note, Rule.equals() will always return the same value as Object.equals() (owing to the second line), unless the rule is compared with itself. This makes it inconsistent with Rule.hashCode().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list