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.
Showing
- apps/dav/lib/Connector/Sabre/Directory.php 8 additions, 4 deletionsapps/dav/lib/Connector/Sabre/Directory.php
- apps/dav/lib/Connector/Sabre/FilesPlugin.php 41 additions, 0 deletionsapps/dav/lib/Connector/Sabre/FilesPlugin.php
- apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php 63 additions, 0 deletionsapps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php
Please register or sign in to comment