notes-android
notes-android copied to clipboard
Conflict resolution failing, newer server changes overwritten
Describe the bug
There's something wrong with the usage of the conflict detection elements of the API. It's possible to lose content that's already been updated on the server through the Android app overwriting those changes.
To Reproduce Steps to reproduce the behavior:
- Create a note using the web app
- Ensure that note gets synced to the Android app
- Enable Airplane Mode on the phone
- Make an addition to the note in the web app
- Make an addition to the note in the Android app
- Disable Airplane Mode on the phone and allow sync to complete
- Reload the note in the web app and see that the edits made in step 4 have been overwritten
I think I swiped away the app and restarted between steps 5 and 6 but I'm not sure that matters. I've been seeing this for some time.
Expected behavior
It shouldn't be possible to blindly overwrite changes on the server with local content. There should be a sync conflict which is handled. The API works as expected.
Smartphone (please complete the following information):
- Nextcloud Notes-Version (android app): 4.1.0 RC1 (but have been seeing for some time)
- F-Droid or Play Store: F-Droid
- Android-Version: 13
- Device: Pixel 6a (GrapheneOS)
Server
- Nextcloud version: 26.0.3
- Nextcloud Notes version (server app): 4.8.0
I've had this issue as well for a long time and I've lost data this way several times. I just had it again today on notes 4.8.1 and notes-android 4.1.0 RC1.
Still seeing issue with v4.1.0 running against Notes 4.8.1 on a 27.0.2 instance
Hi Team, This issue is still happening. Lately I have the impression that a lot of complains for issues or feature requests remain unheard and completely ignored. I'm sure you are busy dealing with more important stuff, however this issue is not to be ignored. It's been 6 months since the last comment above and not even an acknowledgment is made. If you guys behave like that, your solution will loose credibility.
This is a small list of issues / feature requests still open for a long time and unresolved:
- https://github.com/nextcloud/talk-android/issues/2704
- https://github.com/nextcloud/deck/issues/5539
Can you please fix this issue with Nextcloud Notes?
Thanks.