nextcloud / ios

πŸ“± Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

Files in favorites are not updated on real files update #3175

Open Xld137 opened 1 week ago

Xld137 commented 1 week ago

How to use GitHub


Steps to reproduce

  1. Add file to favorites.
  2. Wait some time (in my case a day or two).
  3. Change the file content (I do it on macOS that is also connected to my NC service).
  4. Open favorites tab in IOS app.
  5. See problems:
    • file date (modified date) is not updated,
    • if you try to open file with respective app or choose to share -> open with another app (in my case xlsx via Collabora/MS Excel) the app doesn't start at all.

To fix this I go to place in IOS app where the file is stored and then go back to favorites. It makes favorites update the file.

Expected behaviour

Immediately updated favorites after changing of original file, no matter from which device it happened

Actual behaviour

Favorites contains not updated or maybe corrupted file version.

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Environment data

iOS version: iOS 17.7

Nextcloud iOS app version: 6.1.3.0

Server operating system: Debian 12

Web server: Nginx

Database: default in AIO

PHP version: the latest from AIO

Nextcloud version: 29.0.8

i2h3 commented 6 days ago

Remarks

Environment

Result

I can confirm that the reported issue of outdated time information exists with the exception that the download (Share β†’ Save in Files) of the subject works with the latest revision being fetched. A pull to refresh updates the metadata of the favorites just like reentering the parent directory in the app's file browser does.

Interestingly, a second try with the latest released app version on iOS 18.1 in connection to a Nextcloud 30.0.1 renders the sharing indeed broken. Nothing happens after the app apparently failed to file download the content silently. A pull to refresh in the favorites does not help. The parent directory of the file must be reentered in the app's file browser.