notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

Conflict resolution failing, newer server changes overwritten

Open cheywood opened this issue 2 years ago • 3 comments

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:

  1. Create a note using the web app
  2. Ensure that note gets synced to the Android app
  3. Enable Airplane Mode on the phone
  4. Make an addition to the note in the web app
  5. Make an addition to the note in the Android app
  6. Disable Airplane Mode on the phone and allow sync to complete
  7. 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

cheywood avatar Jul 19 '23 04:07 cheywood

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.

SeanDS avatar Sep 10 '23 10:09 SeanDS

Still seeing issue with v4.1.0 running against Notes 4.8.1 on a 27.0.2 instance

cheywood avatar Oct 05 '23 09:10 cheywood

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.

calidancer avatar Apr 08 '24 09:04 calidancer