]> source.dussan.org Git - nextcloud-server.git/commit
Fix FutureFile MOVE to keep destination node
authorVincent Petry <pvince81@owncloud.com>
Thu, 30 Mar 2017 09:30:37 +0000 (11:30 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 26 Apr 2017 13:46:38 +0000 (15:46 +0200)
commit7b6e4d0dd2dce40fcc7da9de2b7e49b26dfe1914
tree84a9055b4904ce08acaff40bc5a0d6d481635676
parentec8d7010e54138f87a5c17216b6863188db136a4
Fix FutureFile MOVE to keep destination node

Sabre usually deletes the target node on MOVE before proceeding with the
actual move operation. This fix prevents this to happen in case the
source node is a FutureFile.
apps/dav/lib/Connector/Sabre/Directory.php
apps/dav/lib/Connector/Sabre/FilesPlugin.php
apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php