[jira] [Created] (OFBIZ-10933) Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-10933) Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’

Nicolas Malin (Jira)
Mathieu Lirzin created OFBIZ-10933:
--------------------------------------

             Summary: Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’
                 Key: OFBIZ-10933
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10933
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Release Branch 18.12
            Reporter: Mathieu Lirzin
            Assignee: Mathieu Lirzin
             Fix For: Upcoming Branch


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




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)