[jboss-jira] [JBoss JIRA] Created: (JBRULES-2350) The order of resources are not preserved when loaded by the KnowledgeAgentImpl
Pieter Martin (JIRA)
jira-events at lists.jboss.org
Fri Nov 27 16:26:29 EST 2009
The order of resources are not preserved when loaded by the KnowledgeAgentImpl
------------------------------------------------------------------------------
Key: JBRULES-2350
URL: https://jira.jboss.org/jira/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: Mark Proctor
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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list