Christan Keller created SLING-5500:
--------------------------------------

             Summary: ResourceResolver#remove(Resource) fails on JcrResource 
that is a Property
                 Key: SLING-5500
                 URL: https://issues.apache.org/jira/browse/SLING-5500
             Project: Sling
          Issue Type: Bug
          Components: JCR, ResourceResolver
    Affects Versions: JCR Resource 2.8.0
            Reporter: Christan Keller


Let Path point to a Property in a JCR Repository
{code}
Resource toDelete = resourceResolver.getResource(path);
if (toDelete != null) {
     resourceResolver.delete(toDelete);
}
{code}
Ends in a PathNotFoundException. 

Seems to be introduced by SLING-5491 found in Bundle Version 2.7.1.R1728839



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to