Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Upload of folder with same name shows error #6996

Closed
owncloud/owncloud-design-system
#2149

Description

@tbsbdr

Steps to reproduce

  1. Login to https://ocis.ocis-wopi.released.owncloud.works/
  2. Create a new folder "Folder" on the ocis instance and on your local drive.
  3. upload your local "Folder" folder
  4. upload does not start, shows error "Folder "Folder" already exists."
    image

Expected behaviour

System should offer me alternative options to upload the folder.
The appropriate dialogues are consistently shown in case of conflicting resources, eg. in context of:

  • Drag'n drop upload
  • upload via upload-button
  • move-dialog
  • copy-dialog
  • trashbin-restore
  • etc...

General rule

User gets asked what to do in case of conflicting resources, as there is no common pattern across different services/platforms (OneDrive, Google Drive, Box, Windows, Mac, etc. - all different).

Note This dialog concept is also meant to be applied to #1753

Dialogs

image

Behaviour

  1. Replace will replace the existing file (and creates a new version implicitly).
  2. Keep both will create a new resource with an appended number "(xx)" - counting up, if ex. (2) already exists.
  3. Cancel will skip the current resource, if applicable shows the next conflict.
  4. Merge will combine folders with the same name; if they contain conflicting files, user gets asked what to do (dialog for files shows up).
  5. Do this for all XX conflicts will apply the selected option to all XX upcoming conflicts. Is only shown, if there are at least 2 conflicts.
  6. generally applicable: The

Userflows

image


solves:
#3751
#5761
#5106
#6546

groundwork for
#1753

Activity

  1. added
    Type:Bug
    Priority:p2-high
    on May 17, 2022
  2. self-assigned this
    on May 17, 2022
  3. tbsbdr commented on May 18, 2022

    @tbsbdr
    Author

    added to initial post:

    The appropriate dialogues are consistently shown in case of conflicting resources, eg. in context of:

    Drag'n drop upload
    upload via upload-button
    move-dialog
    copy-dialog
    trashbin-restore
    etc...

  4. kulmann commented on Sep 5, 2022

    @kulmann
    Contributor

    We can't implement "merge" with reasonable effort or performance at the moment. Will be ignored for the initial implementation. Instead we're using our usual conflict resolve dialog with Skip (multiple files/folders) / Cancel (single file/folder), Overwrite and Keep both as options.

  5. tbsbdr commented on Sep 6, 2022

    @tbsbdr
    Author

    👍 perfect

    (I guess you mean Replace - not Overwrite)

  6. kulmann commented on Sep 6, 2022

    @kulmann
    Contributor

    (I guess you mean Replace - not Overwrite)

    yes 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p2-highType:Bug

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions