With the “text” app, sometimes I get the message:
The document has been changed outside of the editor. The changes cannot be applied.
I think I got it most recently by editing a Markdown file in the Notes app, then editing it again shortly after in the default Markdown text editor (I think that app is just called “text”).
I’m confused about the two buttons that show up at the bottom of the page during this conflicted state:
Use current version
Use the saved version
What are these two distinct versions?
The differences are also pretty hard to spot visually, except for a very small document. Is there some way to highlight the differences, or download both versions and compare them with other tools?
See also:
opened 12:23PM - 12 May 22 UTC
bug
0. Needs triage
feature: conflict resolution
high
### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no… t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
Offline edits of a shared text file (shared as non-editable) which are then synced are not updated in the in-browser view of the shared file
### Steps to reproduce
1. create a text file in nextcloud
2. edit it with the in built-in text editor
3. share the next file via public link without allowing editing
4. sync the file using the desktop client
5. edit synced file offline
6. sync again
7. the shared document does not show the changes
8. open the file in the nextcloud text editor
The warning appears:

and I can choose "use current version" or "use saved version".
9. Clicking "use saved version" updates the shared file
### Expected behavior
Any changes to the file saved in the nextcloud are reflected in the shared file. The saved text file (i.e. the file that is in the nextcloud filesystem) is shown in the shared in-browser text file view, not any other version that may be in some cache of the nextcloud text editor (or somewhere else).
### Installation method
Other
### Operating system
Other
### PHP engine version
Other
### Web server
Other
### Database engine version
_No response_
### Is this bug present after an update or on a fresh install?
_No response_
### Are you using the Nextcloud Server Encryption module?
_No response_
### What user-backends are you using?
- [ ] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
_No response_
### List of activated Apps
```shell
I don't have access to the command-line
```
### Nextcloud Signing status
_No response_
### Nextcloud Logs
_No response_
### Additional info
hosted by webo.hosting