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)

Reply via email to