You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christan Keller (JIRA)" <ji...@apache.org> on 2016/02/09 12:43:18 UTC

[jira] [Created] (SLING-5500) ResourceResolver#remove(Resource) fails on JcrResource that is a Property

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)