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=29909>. 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=29909 Server should return an error code on BIND method when not properly configured Summary: Server should return an error code on BIND method when not properly configured Product: Slide Version: 2.1 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: WebDAV Server AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When the server is configured with a store that does not support binding, or the binding is configured to be false, it should report an error, and not a 201 Created message. The problem seems to be caused by the structure.addBinding call in BindMethod (implemented in SZtructureImpl) that checks if the binding is enabled, and if it's not simply returns, without any kind of error code. Thus, the method has no chance of changing it's status to 501 Unimplemented, and returns a 201 Created. A possible solution would be to add an else in the condition check, and throw an exception in it, which could be catched by the method. Unfortunately i'm not yet quite used to slide code to produce a patch for this, since i don't know what impact this change would have on other parts of the code. Ciao, Simone Gianni --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
