You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app is opened and you navigate to a favorited subfolder, cached (previously opened) files inside that subfolder should automatically download any changes, just like files inside non-favorited subfolders do.
Actual behaviour
Cached (previously opened) files inside a favorited subfolder do not update themselves with new versions. A manual sync needs to be forced.
This bug is made more severe by the fact that no conflicting file management is performed if you make edits to one of these outdated files. I elaborate on this in the Other Notes section below. I have also created a feature request for conflict resolution which would have helped mitigate this issue. (#903)
Steps to reproduce
Create a folder inside your main Nextcloud file store. Add it to your favorites.
Create a text file inside this subdirectory.
Verify that the file has been cached. It should have the green check mark.
Tap the back arrow to return to your main Nextcloud directory. Required. Without this step, the bug does not happen
Exit the iOS app by returning to your iOS home screen.
Edit the test file from another device and make sure it has synced up to your Nextcloud server.
Re-open the iOS app and navigate into the test subfolder. Notice that the text file's thumbnail has updated to display the changes.
View the test file and notice that the changes were not downloaded. You are viewing an outdated version of this file.
Other notes
Step 4 is required to reproduce this bug. If the app is sent to the background and re-opened directly to the subfolder, changes to the file will be correctly re-downloaded. It only appears to happen when the Nextcloud app re-opens to your root directory, either because you tapped the back arrow before exiting the app or you force quit it.
If, at step 8, you edit the outdated file, the app ignores the fact that different changes have been made to both the local cached copy and the server's copy of the file. Your local iOS edits will be synced up to your Nextcloud server, overwriting the version stored there . No conflicting file management will happen and the edits from your other device will be lost.
I have been able to reproduce this reliably for favorited folders, but it does not seem to happen for regular non-favorited folders. Whether the test file itself is favorited or not doesn't seem to have an effect on this bug either way; it appears to only be caused by favorited folders.
iOS version
12.3.1
App version
2.23.7.9
Server configuration
Operating system:
Ubuntu Server 18.04
Web server:
Database:
mysql 5.7.26
PHP version:
7.2.19
Nextcloud version: (see Nextcloud admin page)
16.0.2 installed from snap
The text was updated successfully, but these errors were encountered:
@marinofaggiana I'm double checking all my recent bug reports against beta v2.23.8.15 just in case. Confirming that this bug still happens, although I had to wait longer for the thumbnail to update in step 7. I ended up viewing the file and returning to the list a couple times before the thumbnail updated. It was probably just my nextcloud server or my network being slow to respond though. Curiously, non-favorited folders receive file updates almost instantly. Aside from that peculiarity, the bug happened exactly as outlined above.
I know this is probably a low priority since it only affects favorited folders, but it essentially renders favorited folders useless unless you want to experience data loss.
I experience same problem, so can confirm this bug.
It is unfortunately also not possible to manually refresh/reload the file list contents (by drawing from top of screen downwards), which can be done on other folders. The workaround is to clear the cache in the app settings.
App: 2.24.1.0
Nextcloud Server: 15.0.12
OS: Ubuntu 16.04 with Apache, mysql (mariadb) 15.1, php 7.
Expected behaviour
When the app is opened and you navigate to a favorited subfolder, cached (previously opened) files inside that subfolder should automatically download any changes, just like files inside non-favorited subfolders do.
Actual behaviour
Cached (previously opened) files inside a favorited subfolder do not update themselves with new versions. A manual sync needs to be forced.
This bug is made more severe by the fact that no conflicting file management is performed if you make edits to one of these outdated files. I elaborate on this in the Other Notes section below. I have also created a feature request for conflict resolution which would have helped mitigate this issue. (#903)
Steps to reproduce
Other notes
iOS version
12.3.1
App version
2.23.7.9
Server configuration
Operating system:
Ubuntu Server 18.04
Web server:
Database:
mysql 5.7.26
PHP version:
7.2.19
Nextcloud version: (see Nextcloud admin page)
16.0.2 installed from snap
The text was updated successfully, but these errors were encountered: