Description
The order of resources are not preserved when loaded by the KnowledgeAgentImpl.
This can cause a dslr file to be loaded before its dsl causing compilation errors.
Some investigation shows that the resources are loaded into a HashMap, in the org.drools.agent.impl.KnowledgeAgentImpl class.
The map does not preserve the order. Most likely changing the map to a class that where the iteration order is the insertion order will solve the problem.
Attachments
Issue Links
- is duplicated by
-
JBRULES-2377 Problems with DSL / DSLR files when used with a KnowledgeAgent / Change Sets
- Closed