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.3, 4.0.2, 4.0.1
Environment: n/a
Reporter: Adrian Sox
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