[jboss-jira] [JBoss JIRA] (DROOLS-85) Accessibility of declarative models in defaultPkg
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Mar 26 07:34:43 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
More information about the jboss-jira
mailing list