Skip to content

simultaneous folder rename on server and client can merge folder contents into one #708

@jnweiger

Description

@jnweiger

Seen on windows 10, 22H2 with desktop beta 3.0.0.1960
Seen on ubuntu with OpenCloud Beta 3.0.0.1858

  • Connect client to server, wait for initial sync
  • Create folder foo with file from_server.txt on the server Web UI.
  • Create folder bar with file from_client.txt on the desktop.
  • prepare rename of foo to hello on the server, but don't hit enter.
  • prepare rename of bar to hello on the client, but don't hit enter.
  • hit Enter on both Server and Client.
  • Renames happen without error. OKish
  • A single folder hello remains, containing both from_server.txt and from_client.txt - BAD.

Expected behavior:

  • folder contents never changes while renaming a folder.
  • either server or client succeeds to claim the name hello. Normal conflict resolution applies and the other folder is named 'hello (2)'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions