Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2350

The order of resources are not preserved when loaded by the KnowledgeAgentImpl

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.0.CR1
    • 5.1.0.M1
    • All
    • None
    • Hide

      Name the files in the changeset in alphabetical order. Worked for me.

      Show
      Name the files in the changeset in alphabetical order. Worked for me.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              esteban.aliverti@gmail.com Esteban Aliverti (Inactive)
              pieter.martin_jira Pieter Martin (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty