[jboss-jira] [JBoss JIRA] Closed: (JBRULES-2350) The order of resources are not preserved when loaded by the KnowledgeAgentImpl

Esteban Aliverti (JIRA) jira-events at lists.jboss.org
Thu Feb 24 20:57:07 EST 2011


     [ https://issues.jboss.org/browse/JBRULES-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteban Aliverti closed JBRULES-2350.
-------------------------------------



> The order of resources are not preserved when loaded by the KnowledgeAgentImpl
> ------------------------------------------------------------------------------
>
>                 Key: JBRULES-2350
>                 URL: https://issues.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list