mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
fix regression with VFS update metadata instruction
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
91bea6f305
commit
7c9f652c3e
2 changed files with 1 additions and 1 deletions
|
@ -1685,6 +1685,7 @@ void ProcessDirectoryJob::processFileFinalize(
|
|||
|
||||
if (_discoveryData->_syncOptions._vfs &&
|
||||
item->_type == CSyncEnums::ItemTypeFile &&
|
||||
item->_instruction == CSyncEnums::CSYNC_INSTRUCTION_NONE &&
|
||||
!_discoveryData->_syncOptions._vfs->isPlaceHolderInSync(_discoveryData->_localDir + path._local)) {
|
||||
item->_instruction = CSyncEnums::CSYNC_INSTRUCTION_UPDATE_VFS_METADATA;
|
||||
}
|
||||
|
|
|
@ -411,7 +411,6 @@ private slots:
|
|||
fakeFolder.localModifier().insert("A/a3");
|
||||
fakeFolder.remoteModifier().appendByte("A/a2");
|
||||
QVERIFY(fakeFolder.syncOnce());
|
||||
QEXPECT_FAIL("", "", Abort);
|
||||
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
|
||||
cleanup();
|
||||
|
||||
|
|
Loading…
Reference in a new issue