You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2002/02/21 18:45:39 UTC

DO NOT REPLY [Bug 6618] New: - proppatch and rfc2518

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6618>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6618

proppatch and rfc2518

           Summary: proppatch and rfc2518
           Product: Slide
           Version: 1.0.16 Stable
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV Server
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: didier.berguerand@imtf.ie


In the rfc2518 document about PROPPATCH:
Instructions MUST either all be executed or none executed. Thus if any error
occurs during processing all executed instructions MUST be undone and a proper
error result returned.

If you send a proppatch to Slide for several properties and one fails, no
rollback is executed.
I get this response:

<?xml version="1.0" encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV">
 <d:response>
  <d:href>/lts/resource1.html</d:href>
  <d:propstat>
   <d:prop>
    <D:authors1 xmlns:D="DAV:"/>
   </d:prop>
   <d:status>HTTP/1.1 200 OK</d:status>
  </d:propstat>
  <d:propstat>
   <d:prop>
    <D:authors2 xmlns:D="DAV:"/>
   </d:prop>
   <d:status>HTTP/1.1 200 OK</d:status>
  </d:propstat>
  <d:propstat>
   <d:prop>
    <D:creationdate xmlns:D="DAV:"/>
   </d:prop>
   <d:status>HTTP/1.1 409 Conflict</d:status>
  </d:propstat>
 </d:response>
</d:multistatus>

and the two properties author1 and author2 remain in the descriptor store.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>