[
https://issues.apache.org/jira/browse/SLING-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367642#comment-15367642
]
Carsten Ziegeler commented on SLING-5829:
-----------------------------------------
It's correct this fix is just avoiding the ClassCastException - the whole
mechanism for configuring which providers are required based on a PID is a
wrong approach. So I don't want to put more effort into it than is necessary.
We should base this on the provider name property, which is much more stable
> Fix handling of SERVICE_PID
> ---------------------------
>
> Key: SLING-5829
> URL: https://issues.apache.org/jira/browse/SLING-5829
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Resource Resolver 1.5.0
>
>
> The value of the service property SERVICE_PID can either be String or
> String[]. We should guard against String[].
> The resource resolver uses the PID for configuring required resource providers
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)