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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 18.12
    • Release Branch 18.12, Trunk
    • framework
    • 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

              mthl Mathieu Lirzin (Inactive)
              mthl Mathieu Lirzin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: