]
Edson Tirelli reassigned JBRULES-1357:
--------------------------------------
Assignee: Edson Tirelli
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
Assigned To: Edson Tirelli
Fix For: 5.0.0-M1, 4.0.5
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: