Felix Meschberger created SLING-2711:
----------------------------------------

             Summary: JcrResourceProvider.delete always throws 
PersistenceException
                 Key: SLING-2711
                 URL: https://issues.apache.org/jira/browse/SLING-2711
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Resource 2.2.2
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: JCR Resource 2.2.4


The JcrResourceProvider.delete method always throws a PersistenceException 
regardless of whether removal succeeded or not.

In any case an exception must not be thrown if the item has been removed. The 
question is whether an exception should be thrown if the item does not exist or 
is not visible ? Maybe the delete method should just silently terminate since 
the goal is to not have the item any longer after delete and if this is already 
the case before, this might be considered success ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to