Closed eniad closed 1 year ago
The behavior is not consistent (see Actual behaviour
above). Screen shots of failed conflict resolution interaction (behavior 2):
User clicks Use saved version
. Then the thinking circle appears:
After a breif time, the thinking circle stops and the user is left on the interaction page. The conflict is not resolved.
The user can select Use current version
to successfully resolve conflicts, but that wipes out changes from the server.
This is within text app, redirecting.
I wasn't using the dashboard for editing, so I didn't realize the text app was used for editing in both places. After checking, sure enough, the dashboard has the same issue for the same files.
However, the dashboard succeeds to Use the saved version
, which also clears up the Android client.
We applied quite a few fixes to conflict handling in Nextcloud 26.0.2. They will also be included in Nextcloud 27.
I know selecting the version is working. I have not tested to see if it crashes on Android though.
Please reopen or comment if this issue is still happening to you when using a Nextcloud later than 26.0.2.
Steps to reproduce
These edits were several hours apart, so there should have been enough time for the changes to propagate between both clients and the server.
The markdown file in question is used by the Pico CMS plugin for Nextcloud. This has happened on other files. In fact, it's pretty common for this conflict to crash my Android client (~weekly).
Expected behaviour
The Android client should either:
A. Allow resolution of conflicts without crashing
B. Prevent conflicts by updating local copy to saved (on server)
Actual behaviour
Conflicts cause several problems:
Can you reproduce this problem on https://try.nextcloud.com?
No. I'm not sure how to emulate two clients and the server, but I did play around with it.
Environment data
Android version: 9
Device model: moto g6
Stock or customized system: Stock
Nextcloud app version: 30160190
Nextcloud server version: 20.0.11
Reverse proxy: No
Logs
Web server error log
Not 100% sure this web server log is related, but the timing and file path coincide.
Nextcloud log (data/nextcloud.log)
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate