httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53525] New: PROPPATCH delete (svn propdel) errors not returned
Date Mon, 09 Jul 2012 12:27:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53525

          Priority: P2
            Bug ID: 53525
          Assignee: bugs@httpd.apache.org
           Summary: PROPPATCH delete (svn propdel) errors not returned
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: arwin@collab.net
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: mod_dav
           Product: Apache httpd-2

Created attachment 29042
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29042&action=edit
Suggested patch to fix this bug.

On failure to execute a PROPPATCH to remove a property, the error is not
returned to the caller.

A comment in the code says:

<code snippet>

1044: /*
1045: ** Delete the property. Ignore errors -- the property is there, or
1046: ** we are deleting it for a second time.
1047: */
1048: /* ### but what about other errors? */
1049: (void) (*propdb->db_hooks->remove)(propdb->db, &name);

</code snippet>

In subversion, property deletions are subject to authorization, and hook script
execution.

In the current state of things, regardless of the outcome of the PROPPATCH, the
client receives a 2xx class response. I suggest the attached patch to fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message