You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/04/30 09:46:16 UTC
[jira] [Resolved] (SLING-2845) ResourceUtil.getOrCreateResource
should catch PersistenceException when calling create
[ https://issues.apache.org/jira/browse/SLING-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-2845.
-------------------------------------
Resolution: Fixed
Catching exception now and checking if the resource is available (revision 1477494)
> ResourceUtil.getOrCreateResource should catch PersistenceException when calling create
> --------------------------------------------------------------------------------------
>
> Key: SLING-2845
> URL: https://issues.apache.org/jira/browse/SLING-2845
> Project: Sling
> Issue Type: Bug
> Components: API
> Affects Versions: API 2.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: API 2.4.2
>
>
> If a resource is created concurrently, the call to ResourceResolver#create() might throw a persistence exception. In that case we should retry
--
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