You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/02/06 13:23:39 UTC
[jira] [Created] (SLING-5491) JcrResourceProvider#delete should not
cast Resource to JcrItemResource
Carsten Ziegeler created SLING-5491:
---------------------------------------
Summary: JcrResourceProvider#delete should not cast Resource to JcrItemResource
Key: SLING-5491
URL: https://issues.apache.org/jira/browse/SLING-5491
Project: Sling
Issue Type: Bug
Components: JCR
Affects Versions: JCR Resource 2.7.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Resource 2.8.0
The code at
https://github.com/apache/sling/blob/f4751528432eca4e54e3161d501b43b605f92ae7/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java#l440
is directly casting to a JcrItemResource - if e.g. a wrapped resource is passed in, this fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)