From notifications-return-25144-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Apr 19 13:35:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3D4FA180789 for ; Fri, 19 Apr 2019 15:35:02 +0200 (CEST) Received: (qmail 7466 invoked by uid 500); 19 Apr 2019 13:35:01 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 7457 invoked by uid 99); 19 Apr 2019 13:35:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2019 13:35:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9AE57E29CB for ; Fri, 19 Apr 2019 13:35:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2894C25812 for ; Fri, 19 Apr 2019 13:35:00 +0000 (UTC) Date: Fri, 19 Apr 2019 13:35:00 +0000 (UTC) From: "Mathieu Lirzin (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(OFBIZ-10933)_Insertion_order_of?= =?utf-8?Q?_=E2=80=98LinkedHashMap=E2=80=99_is_not_?= =?utf-8?Q?preserved_by_=E2=80=98MapContext=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10933?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Mathieu Lirzin updated OFBIZ-10933: ----------------------------------- Attachment: OFBIZ-10933_0001-Improved-Add-UtilMisc-toMap-Supplier-Map-K= -V-Object.patch OFBIZ-10933_0002-Fixed-Ensure-that-MapContext-preserves-ins= ertion-ord.patch > Insertion order of =E2=80=98LinkedHashMap=E2=80=99 is not preserved by = =E2=80=98MapContext=E2=80=99 > ------------------------------------------------------------------- > > 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-Supplie= r-Map-K-V-Object.patch, OFBIZ-10933_0002-Fixed-Ensure-that-MapContext-prese= rves-insertion-ord.patch > > > Since revision 1837462, when pushing a =E2=80=98LinkedHashMap=E2=80=99 in= side a =E2=80=98MapContext=E2=80=99, the iteration order of the =E2=80=98Ma= pContext=E2=80=99 values is not corresponding to the > insertion order of the embedded =E2=80=98LinkedHashMap=E2=80=99 which is = important in the =E2=80=98ControllerConfig=E2=80=99 case where configuratio= n elements are stored in =E2=80=98LinkedHashMap=E2=80=99 objects and the = =E2=80=98include=E2=80=99 mechanism relies on =E2=80=98MapContext=E2=80=99. -- This message was sent by Atlassian JIRA (v7.6.3#76005)