jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Quellenberg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2613) NoSuchItemStateException on checkin after removeVersion in XA Environment
Date Tue, 20 Apr 2010 11:13:50 GMT

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

Tom Quellenberg updated JCR-2613:

    Status: Patch Available  (was: Open)

I think a node.store() is missing in InternalVersionHistoryImpl.removeVersion when no references
to the version history were found. Without the store operation the cache in the LocalItemStateManager
is not updated.
See proposed patch (based on the 1.6-branch)
I suppose the bug was introduced by JCR-134 and affects all version since 1.6.0

> NoSuchItemStateException on checkin after removeVersion in XA Environment
> -------------------------------------------------------------------------
>                 Key: JCR-2613
>                 URL: https://issues.apache.org/jira/browse/JCR-2613
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: transactions, versioning
>    Affects Versions: 1.6.1
>            Reporter: Tom Quellenberg
>         Attachments: JCR-2613.patch, RemoveAndCheckinXATest.java
> After removing a version, a checkin on the same node in a different transaction (with
a different session) fails.
> The NoSuchItemStateException refer to the uuid of the previously removed version. 
> I'll attach a test demonstrating the problem. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message