[jboss-jira] [JBoss JIRA] (DROOLS-4457) Can not use classes with same name from different packages in the same rule package
Jozef Marko (Jira)
issues at jboss.org
Thu Aug 22 08:04:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Marko closed DROOLS-4457.
-------------------------------
Resolution: Won't Fix
The impact of needed changes would be too big.
> Can not use classes with same name from different packages in the same rule package
> -----------------------------------------------------------------------------------
>
> Key: DROOLS-4457
> URL: https://issues.jboss.org/browse/DROOLS-4457
> Project: Drools
> Issue Type: Bug
> Components: Enumerations Editor, Guided Decision Table Editor, Guided Decision Tree Editor, Guided Rule Editor, Guided Score Card Editor, Guided Template Editor, Scenario Simulation and Testing, Test Scenarios Editor
> Affects Versions: 7.26.0.Final
> Reporter: Jozef Marko
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
>
> If you have fact types:
> * org.Person
> * org.test.Person
> It will not be possible to use these in the same rule package even if they are used in different guided assets. This is since the package imports both and the compiler does not know what is the one that is referenced in the generated DRL code.
> The fix requires:
> * to update the exiting fact type selectors so that they show what the package of the fact that is used is.
> * to use the FQCN in the DRL source.
> * add the support for asset visitors
> * add the support for DMO
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list