Skip to content

sync causes conflict even if no edits have occurred #1212

@brainchild0

Description

@brainchild0

If a file is open in the editor, but has not been changed, and if an updated version is pushed from a client through file synchronization, then the editor reports a conflict, instead of simply loading the new version pushed from the client.

Worse, the same behavior occurs even when the editor is active in viewing mode, as for a read-only public share.

The following steps will reproduce the issue:

  1. Create a file in a synchronized folder. Be sure that the desktop client is running and that synchronization is enabled.
  2. Open the file in the editor. Make no changes.
  3. Open the file in an editor running locally on the client system. Make changes and save. Allow the file to synchronize with the server.
  4. Return to the editor in the browser.

Then the editor in the browser should simply refresh the content from the local changes.

Presently, the editor reports a conflict, and asks the user to choose between the two versions to resolve the conflict. (In viewing mode, the editor simply continues to display the outdated version.)


Text app version: 3.1.0
Operating system: Linux
Web server: Apache
Database: MariaDB
PHP version: 7.3.24
Nextcloud version: 20.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions