jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-2547) Setting a property which has been transiently removed fails with a PathNotFoundException
Date Mon, 08 Mar 2010 11:57:27 GMT

    [ https://issues.apache.org/jira/browse/JCR-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842635#action_12842635
] 

Michael Dürig commented on JCR-2547:
------------------------------------

The reason seems to be that the client sends an invalid request of the following form to the
server:

-/testroot/node1/prop1 : 
-/testroot/node1/prop1 : 
^/testroot/node1/prop1 : "value3"

The server then responds with 409 Conflict

AFAIU the reason for the invalid request is that property addition followed by property removal
is not properly handled. That is, the two operations do not properly cancel out. 

> Setting a property which has been transiently removed fails with a PathNotFoundException
> ----------------------------------------------------------------------------------------
>
>                 Key: JCR-2547
>                 URL: https://issues.apache.org/jira/browse/JCR-2547
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi2dav
>    Affects Versions: 2.1.0
>            Reporter: Michael Dürig
>
> The following tests currently all fail with a PathNotFoundException
> org.apache.jackrabbit.jcr2spi.AddPropertyTest#testReplacingProperty
> org.apache.jackrabbit.jcr2spi.AddPropertyTest#testReplacingProperty2
> org.apache.jackrabbit.jcr2spi.AddPropertyTest#testAddingProperty
> org.apache.jackrabbit.jcr2spi.AddPropertyTest#testAddingProperty2

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


Mime
View raw message