]
Mario Fusco resolved DROOLS-549.
--------------------------------
Resolution: Done
Queries in the default package are built twice
----------------------------------------------
Key: DROOLS-549
URL:
https://issues.jboss.org/browse/DROOLS-549
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.6.0.Final, 6.1.0.CR2
Reporter: Davide Sottara
Assignee: Mario Fusco
Fix For: 6.1.0.Final
When queries are built, they are looked up in the current package AND in any imported
package. In the case of .defaultpkg, which is imported by default, both checks succeed and
the query is built twice
See PatternBuilder line 213