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

Esteban Aliverti (JIRA) jira-events at lists.jboss.org
Thu Jun 24 08:30:46 EDT 2010


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

Esteban Aliverti reassigned JBRULES-2350:
-----------------------------------------

    Assignee: Esteban Aliverti  (was: Mark Proctor)


> 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
>
> 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

        


More information about the jboss-jira mailing list