Open angermueller opened 8 years ago
Agreed, this is a bug. I don't know when I'll have time to look into this... a code contribution would be very helpful/ faster here!
Thanks for the fast reply. I will make a suggestion.
(I'm online currently :smile:) I'd recommend looking at the 'afterDelete' event and hooking that up to the 'locks' plugin. To be super-thorough, the 'afterMove' event would also be interesting to update the lock.
Ok, perfect tipps to get startet :)
By the way: My first pull request :)
@mikedeboer is there a specific blocking reason to not merge https://github.com/mikedeboer/jsDAV/pull/152 ?
Windows sometimes does the following if you copy a file into a webdav directory:
Of course this causes an error in Windows.
The RFC 4918 says at 9.6 about the DELETE method:
So windows behavior not using the lock-token at the last step is correct. JsDAV should delete locks on the DELETE method.