You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2024/01/04 12:53:00 UTC

[jira] [Resolved] (SLING-12220) Ensure that metadata properties are always written in the same order

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

Carsten Ziegeler resolved SLING-12220.
--------------------------------------
    Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-feature/commit/b1cb1f476a8274d120c09cc6a6a7b25225c0220d

> Ensure that metadata properties are always written in the same order
> --------------------------------------------------------------------
>
>                 Key: SLING-12220
>                 URL: https://issues.apache.org/jira/browse/SLING-12220
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Feature Model 2.0.2
>
>
> Currently a hashmap is used for artifact metadata which results in an arbitrary order of metadata properties. It could happen that reading and writing the same feature model results in a different order of metadata properties.
> To reduce differences, we should use an ordered map instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)