Davide Sottara created JBRULES-3597:
---------------------------------------
Summary: KnowledgeAgent can't incrementally load resources with
equivalent declared types
Key: JBRULES-3597
URL:
https://issues.jboss.org/browse/JBRULES-3597
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.4.0.Final
Reporter: Davide Sottara
Assignee: Davide Sottara
Priority: Blocker
Fix For: 5.5.0.Beta1
Assume a KA is created and configured to load its KB incrementally.
Assume the KA will load two resources in two different steps.
If the two DRL resources contain the same type definition, two typeDeclarations will be
created.
The first will be "novel" and used to compile the first DRL.
The second will simply refer the already loaded class.
(Notice that the PackageBuilder will not allow the two definitions to
be different)
The rulebase, however, can't merge the two compiled packages because
the "novel" attribute is different and apparently incompatible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira