[
https://jira.jboss.org/browse/JBRULES-2350?page=com.atlassian.jira.plugin...
]
Esteban Aliverti resolved JBRULES-2350.
---------------------------------------
Fix Version/s: 5.1.0.CR1
Resolution: Done
KnowledgeAgentImpl now adds DSL resources to its internal kbuilders before any other
resource.
Note that changing a DSL resource will not produce any effect until the corresponding DSLR
resource is marked as modified too.
The order of resources are not preserved when loaded by the
KnowledgeAgentImpl
------------------------------------------------------------------------------
Key: JBRULES-2350
URL:
https://jira.jboss.org/browse/JBRULES-2350
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: All
Affects Versions: 5.1.0.M1
Reporter: Pieter Martin
Assignee: Esteban Aliverti
Fix For: 5.1.0.CR1
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira