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

Macon Pegram (JIRA) jira-events at lists.jboss.org
Wed Jan 27 08:42:27 EST 2010


    [ https://jira.jboss.org/jira/browse/JBRULES-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12508725#action_12508725 ] 

Macon Pegram commented on JBRULES-2350:
---------------------------------------

I have a ticket open with recommendations to address this issue which was opened awhile back but was unaware of your ticket.  

Please also reference details and attached test case in ticket:
https://jira.jboss.org/jira/browse/JBRULES-2377


> 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