You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/01/22 08:47:00 UTC
[jira] [Closed] (SLING-11066) Sort URIProvider references
[ https://issues.apache.org/jira/browse/SLING-11066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed SLING-11066.
-----------------------------------
> Sort URIProvider references
> ---------------------------
>
> Key: SLING-11066
> URL: https://issues.apache.org/jira/browse/SLING-11066
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 3.1.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: JCR Resource 3.2.0
>
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> If multiple URIProvider services are provided the order is currently non-deterministic due to the code in https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/5af8c2bb5728184f22d3098967a57d5f1902789c/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java#L156-L168. Instead the implementations should be ordered according to the rules of https://docs.osgi.org/javadoc/osgi.core/8.0.0/org/osgi/framework/ServiceReference.html#compareTo-java.lang.Object-
--
This message was sent by Atlassian Jira
(v8.20.1#820001)