client
client copied to clipboard
Unclear sync status after renaming a resource to match excluded regex
Client: 2.6.1 (build 13096) Server: 10.4.0 RC4 macOS 10.15.3
Steps to recreate:
- Add
'excluded_directories_regex' => [ '.*pdf' ],
in config.php on the server - Open Finder -> go to ownCloud sync folder -> create a new folder
- Rename the folder to e.g.
aaapdf
- Sync
Actual result: Folder has been renamed in Finder. Failed sync message shows the old name. Overlay icon is green - successfully synced. Selective sync list shows the old name. Confusing

When a file in added in such folder, nothing happens. No message, no overlay icon...
Expected result: Either renamed everywhere and not synced, including red overlay icon or not renamed anywhere and still syncing, green overlay icon.
There is already a separate issue for the broken overlay icons https://github.com/owncloud/client/issues/7703
@ogoffart anything we can improve here?
It appears that the problem is that the destination of the move is not marked as a faillure as far as the socketapi is concerned. That should be easy to fix
@ogoffart how exactly has this been fixed? What is the expected result?
Current behaviour: The overlay icon is red that's correct. But if I move the file into that folder, the file has a green icon and looks synced. But not synced in web ui
The bug is that the icon of that file is not updated. If the page is refreshed the icon disappears as the whole folder is not tracked....
If the page is refreshed
What exactly do you refresh? Finder view?