Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10933

Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 18.12
    • Fix Version/s: Trunk, Release Branch 18.12
    • Component/s: framework
    • Labels:
      None

      Description

      Since revision 1837462, when pushing a ‘LinkedHashMap’ inside a ‘MapContext’, the iteration order of the ‘MapContext’ values is not corresponding to the
      insertion order of the embedded ‘LinkedHashMap’ which is important in the ‘ControllerConfig’ case where configuration elements are stored in ‘LinkedHashMap’ objects and the ‘include’ mechanism relies on ‘MapContext’.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mthl Mathieu Lirzin
                Reporter:
                mthl Mathieu Lirzin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: