[
https://issues.apache.org/jira/browse/SLING-7578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Sedding closed SLING-7578.
---------------------------------
> FS Resource Provider has OS-dependent (unstable?) ordering of file-based
> resources
> ----------------------------------------------------------------------------------
>
> Key: SLING-7578
> URL: https://issues.apache.org/jira/browse/SLING-7578
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: File System Resource Provider 2.1.12
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Priority: Major
> Fix For: File System Resource Provider 2.1.14
>
>
> The file-system resource provider, using Sling initial-content compatible
> JSON, does not provide a stable order for resources that are defined by the
> presence of a JSON file or a folder (i.e. not defined inside of a JSON file).
> To allow stable testing against FS resource-based setups, a stable ordering
> should be guaranteed. I propose to sort files in alphabetical order according
> to their filename and to list file-based resources after JSON-defined
> resources.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)