Propagation: Fix delete-before-rename bug #7441
authorChristian Kamm <mail@ckamm.de>
Fri, 30 Aug 2019 10:05:50 +0000 (12:05 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:58 +0000 (10:58 +0100)
commitc9d103762284958345f40bac59be2b82c9de880b
tree6738655753a3ba2d7c28c2704c4f4337314af8d3
parent475117dd6001fc7b29d13ee4405c609c74a4d354
Propagation: Fix delete-before-rename bug #7441

By introducing a PropagateRootDirectory job that explicitly
separates the directory deletion jobs from all the other jobs.

Note that this means that if there are errors in subJobs the
dirDeletionJobs won't get executed.
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h
test/syncenginetestutils.h
test/testpermissions.cpp
test/testsyncmove.cpp