[
https://issues.jboss.org/browse/DROOLS-85?page=com.atlassian.jira.plugin....
]
Mario Fusco resolved DROOLS-85.
-------------------------------
Resolution: Rejected
Actually it works if you import defaultpkg (with lowercase p). Moreover, you have to
explicitly import that package if you have a rule in a different package and this is
exactly how 5.x worked, so it is not a regression.
Accessibility of declarative models in defaultPkg
-------------------------------------------------
Key: DROOLS-85
URL:
https://issues.jboss.org/browse/DROOLS-85
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.Alpha1
Reporter: Michael Anstis
Assignee: Mario Fusco
Unit Tests:
https://github.com/droolsjbpm/drools/commit/7f56c141a
If a declarative model is not added to an explicit package it appears impossible to use
the declarative model from any package other than the 'defaultPkg' itself.
Tests 'testModelInDefaultPackage1' and 'testModelInDefaultPackage2'
create a declarative model in the 'defaultPkg' and attempt to use the model from a
rule in a different (explicit) package.
Tests that I'd expect to pass (one or the other, or both?) are @Ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira