ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Lirzin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OFBIZ-10933) Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’
Date Fri, 19 Apr 2019 15:36:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-10933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mathieu Lirzin resolved OFBIZ-10933.
------------------------------------
    Resolution: Fixed

Committed in revisions 1857817 and 1857818 on trunk.
Committed in revisions 1857819 and 1857820 on release18.12

The bug is hopefully not present on older releases.

> 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
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10933_0001-Improved-Add-UtilMisc-toMap-Supplier-Map-K-V-Object.patch,
OFBIZ-10933_0002-Fixed-Ensure-that-MapContext-preserves-insertion-ord.patch
>
>
> 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)

Mime
View raw message