DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43465>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43465 Summary: LOCK with missing intermediate collection returns 500 rather than 409 Product: Apache httpd-2 Version: 2.2.3 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: mod_dav AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] per RFC 4918 section 9.10.6, a LOCK request with missing intermediate collections should return a 409. with mod_dav 1.0.3, this is correct, in mod_dav.c dav_method_lock, the existence of a parent resource is checked and a 409 is returned. with mod_dav in 2.2.3, a 500 is returned. the logs state: Could not save .locknull file. [500, #0] (2)No such file or directory: Error opening /my/non/existent/path/.DAV/.locknull for writing [500, #0] looking at mod_dav.c in the 2.2 branch, in dav_method_lock, there is no check for the validity of the parent collection after the call to dav_get_resource, and i believe that to be the root cause of this. (I was unable to find a return of the HTTP_CONFLICT response code in a situation that appeared to correspond to this) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
