зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #3987 from nextcloud/bugfix/upload-new-folder-with-vfs
Quick fix! Disable VFS folders removal for non-Windows VFS.
This commit is contained in:
Коммит
5294c5135c
|
@ -1000,6 +1000,11 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo(
|
|||
return;
|
||||
}
|
||||
|
||||
if (localEntry.isDirectory && _discoveryData->_syncOptions._vfs->mode() != Vfs::WindowsCfApi) {
|
||||
// for VFS folders on Windows only
|
||||
return;
|
||||
}
|
||||
|
||||
Q_ASSERT(item->_instruction == CSYNC_INSTRUCTION_NEW);
|
||||
if (item->_instruction != CSYNC_INSTRUCTION_NEW) {
|
||||
qCWarning(lcDisco) << "Trying to wipe a virtual item" << path._local << " with item->_instruction" << item->_instruction;
|
||||
|
|
Загрузка…
Ссылка в новой задаче