This is the same problem as with a PROPPATCH with multiple
properties. The methods in WebdavResource simplify things too much in
returning only a boolean value for these methods that can be partially
successful. Returning false would not be the right thing either.

If you have a good idea how to tackle that problem, let us know.

Ingo

> Hi,
> 
> can somebody please, clarify the following issue with
> the WebdavResource.deleteMethod(String) in the client
> library?
>  
> If i want to delete a collection wich is not empty,
> according to the rfc2518 section 8.6.2 "If an error
> occurs with a resource other than the resource
> identified in the Request-URI then the
> response MUST be a 207 (Multi-Status).", and indeed
> this is happening, but the problem is that the client
> doesn't get notified about the failure of the delete
> operation because in the deleteMethod(String) the
> "return (statusCode >= 200 && statusCode < 300) ? true
> : false;" is used and the 207 statusCode also will
> return true.
> 
> Is this a bug, or it is my missunderstanding? 
> Thank you.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to