jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: [jira] Created: (JCR-391) WebDAV method invocation trying to create a new resource should fail with 409 (Conflict) if parent resource does not exist
Date Mon, 10 Apr 2006 10:29:18 GMT
hi julian

i tried to comment on the jira issue, but i cannot access it
again. *hm*.

so:

"if i remember correctly the reason for this is, that JSR170
  does not support the 'shallow' copy.
  the conflict would be detected property by the javax.jcr.Workspace#copy
  if the copy was requested as deep copy.
  therefore i left the extra check.

  if you think the conflict has priority over the non-processable
  header, i'd suggest to add the extra check to AbstractWebdavServlet
  where some basic validation for the destination is performed."

regards
angela



Julian Reschke (JIRA) wrote:
> WebDAV method invocation trying to create a new resource should fail with 409 (Conflict)
if parent resource does not exist
> --------------------------------------------------------------------------------------------------------------------------
> 
>          Key: JCR-391
>          URL: http://issues.apache.org/jira/browse/JCR-391
>      Project: Jackrabbit
>         Type: Bug
> 
>   Components: webdav  
>     Reporter: Julian Reschke
>     Priority: Minor
> 
> 
> This is Litmus test case copy_nodestcoll. An attempt is made to COPY an existing resource
to a new location, where the parent collection of the resource-to-be-created does not exist.
RFC2518 asks for status code 409 (Conflict) instead of 403 (Forbidden) in this case.
> 
> 


Mime
View raw message