[
https://issues.jboss.org/browse/JBRULES-2940?page=com.atlassian.jira.plug...
]
Esteban Aliverti commented on JBRULES-2940:
-------------------------------------------
When running in with newInstance = false (incremental changeset processing), the agent is
reusing the same kbuilder for all the resources.
After compiling each resource it is getting the created package using:
kbuilder.getKnowledgePackages().iterator().next()
This is obviously wrong because the created package is NOT ALWAYS the first package in the
builder.
Kowledge Agent puts all assets in just one package
--------------------------------------------------
Key: JBRULES-2940
URL:
https://issues.jboss.org/browse/JBRULES-2940
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.1.1.FINAL, 5.2.0.M1
Reporter: Esteban Aliverti
Assignee: Esteban Aliverti
Labels: kagent, knowledge_agent, package
Fix For: 5.2.0.M2
If you add different resources to kagent containing assets defined in different packages,
the result is just one package (the first package created by the kgent) containing all the
assets defined in all the resources.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira