[
https://issues.apache.org/jira/browse/SLING-12488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899730#comment-17899730
]
Konrad Windszus commented on SLING-12488:
-----------------------------------------
Fixed in Sling codebase by just sorting the dictionary by keys before passing
it to the serializers:
https://github.com/apache/sling-org-apache-sling-installer-factory-configuration/commit/b284bd7bbaae38d3c7f2cca40a5297d54ce73299
> ConfigurationSerializerWebConsolePlugin: Emit configuration properties in
> alphabetical order
> --------------------------------------------------------------------------------------------
>
> Key: SLING-12488
> URL: https://issues.apache.org/jira/browse/SLING-12488
> Project: Sling
> Issue Type: Improvement
> Components: Installer
> Affects Versions: Installer Configuration Factory 1.4.8
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> Currently the properties emitted by
> {{/system/console/osgi-installer-config-printer}}
> (https://github.com/apache/sling-org-apache-sling-installer-factory-configuration/blob/master/src/main/java/org/apache/sling/installer/factories/configuration/impl/ConfigurationSerializerWebConsolePlugin.java)
> don't have a particular order. In order to improve readability and also
> stability across changes they should have an alphabetical order.
> This only affects {{.cfg.json}} format.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)