Skip to content
Commit 661756b0 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Set error expected by the DAV client for a failed move



A revert triggers a move in the DAV client, and the DAV client expects a
DAV error message to be provided by the server in case of failure; if
no error message is given the client ends trying to get an attribute
from an undefined object and "crashes".

Besides that, if the revert fails the "done" callback of the promise
(the first parameter of "then") is never called, so a "fail" callback
should be used instead.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 24abfd88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment