[
https://issues.apache.org/jira/browse/SLING-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-2709.
-------------------------------------
Resolution: Fixed
Fix Version/s: JCR Resource 2.2.4
Thanks for reporting, I've fixed this in trunk now: the exception is only
thrown if an error occurs or the node/resource does not exist
> JcrResourceProvider.delete throws PersistenceException
> ------------------------------------------------------
>
> Key: SLING-2709
> URL: https://issues.apache.org/jira/browse/SLING-2709
> Project: Sling
> Issue Type: Bug
> Components: JCR, ResourceResolver
> Affects Versions: JCR Resource 2.2.2
> Environment: independent of environment
> Reporter: Mirko Zeibig
> Assignee: Carsten Ziegeler
> Fix For: JCR Resource 2.2.4
>
> Attachments: sling-2709-it.txt
>
>
> JcrResourceProvider.delete always throws a PersistentException, regardless of
> the success of the delete operation. This change was introduced in Rev.
> 1361122
> (http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java?r1=1360715&r2=1361122&diff_format=h)
> and looks like an unintended change to me.
--
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