[ 
https://issues.apache.org/jira/browse/OAK-9697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-9697:
----------------------------------
    Summary: Restore functionality with removeExisting flag true not working  
(was: Restore functionality with removeExisting flag true ,does not working)

> Restore functionality with removeExisting flag true not working
> ---------------------------------------------------------------
>
>                 Key: OAK-9697
>                 URL: https://issues.apache.org/jira/browse/OAK-9697
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Arun Kumar Ram
>            Priority: Major
>         Attachments: added_test_cases_for_restore_exceptions.patch
>
>
> Restore functionality when removeExisting is set to true, does not working as 
> expected. Its giving ItemStaleException.
>  
>  
> {code:java}
> javax.jcr.InvalidItemStateException: Item is stale 
> /testroot/content/www/en/home
>     at 
> org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.getTree(NodeDelegate.java:882)
>     at 
> org.apache.jackrabbit.oak.jcr.delegate.VersionManagerDelegate.restore(VersionManagerDelegate.java:141)
>     at 
> org.apache.jackrabbit.oak.jcr.version.VersionManagerImpl$1.performVoid(VersionManagerImpl.java:125)
>     at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:275)
>     at 
> org.apache.jackrabbit.oak.jcr.version.VersionManagerImpl.restore(VersionManagerImpl.java:86)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to