client icon indicating copy to clipboard operation
client copied to clipboard

Unclear sync status after renaming a resource to match excluded regex

Open HanaGemela opened this issue 4 years ago • 5 comments

Client: 2.6.1 (build 13096) Server: 10.4.0 RC4 macOS 10.15.3

Steps to recreate:

  1. Add 'excluded_directories_regex' => [ '.*pdf' ], in config.php on the server
  2. Open Finder -> go to ownCloud sync folder -> create a new folder
  3. Rename the folder to e.g. aaapdf
  4. 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

Screenshot 2020-02-21 at 15 52 39

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

HanaGemela avatar Feb 21 '20 15:02 HanaGemela

@ogoffart anything we can improve here?

michaelstingl avatar Mar 02 '20 11:03 michaelstingl

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 avatar Mar 25 '20 10:03 ogoffart

@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

HanaGemela avatar Apr 29 '20 08:04 HanaGemela

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....

TheOneRing avatar May 12 '20 10:05 TheOneRing

If the page is refreshed

What exactly do you refresh? Finder view?

michaelstingl avatar May 12 '20 10:05 michaelstingl