]
Toni Rikkola updated DROOLS-4457:
---------------------------------
Component/s: Enumerations Editor
Guided Decision Tree Editor
Guided Rule Editor
Guided Score Card Editor
Guided Template Editor
Scenario Simulation and Testing
Test Scenarios Editor
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.