You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/11/25 12:33:58 UTC
[jira] [Commented] (SLING-6329) RR.isResourceType() broken with
jcr.resource 2.8.2
[ https://issues.apache.org/jira/browse/SLING-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695755#comment-15695755 ]
Bertrand Delacretaz commented on SLING-6329:
--------------------------------------------
IIUC this causes {{ResourceResolverControl.getParentResourceType}} to fail silently? That's quite bad...but it looks like your patch would fix this.
> RR.isResourceType() broken with jcr.resource 2.8.2
> --------------------------------------------------
>
> Key: SLING-6329
> URL: https://issues.apache.org/jira/browse/SLING-6329
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.5.4
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Attachments: SLING-6329-jsedding.patch
>
>
> With {{jcr.resource}} 2.8.2, {{ResourceResolverFactory.getAdministrativeResourceResolver}} requires the using bundle to be provided via the {{authenticationInfo}} map. For creating the internal {{resourceTypeResourceResolver}} no bundle is provided and thus the admin RR cannot be created. To make matters worse, the releated {{LoginException}} is swollowed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)