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.

a file is not restored from trashbin if files with the same name already exists #1730

Closed

Description

@haribhandari07

Steps to reproduce

  1. Create a file eg. file.txt
  2. Delete file.txt and create file.txt
  3. Restore file.txt

Expected behaviour

file.txt should be restored.

Actual behaviour

file.txt is not restored

Activity

  1. changed the title [-]a file is not resotred from trashbin if file with the same name exists[/-] [+]a file is not resotred from trashbin if files with the same name already exists[/+] on Aug 8, 2019
  2. added
    Type:Bug
    on Aug 8, 2019
  3. removed their assignment
    on Aug 9, 2019
  4. changed the title [-]a file is not resotred from trashbin if files with the same name already exists[/-] [+]a file is not restored from trashbin if files with the same name already exists[/+] on Aug 9, 2019
  5. added
    Priority:p2-high
    on Aug 16, 2019
  6. added this to the backlog milestone on Aug 23, 2019
  7. removed this from the backlog milestone on Sep 1, 2019
  8. self-assigned this
    on Sep 1, 2019
  9. LukasHirt commented on Sep 11, 2019

    @LukasHirt
    Collaborator

    Hmm, seems like this will need change in the API. You'll probably need to take over here @DeepDiver1975 ?

  10. added this to the milestone on Sep 24, 2019
  11. removed their assignment
    on Sep 27, 2019
  12. PVince81 commented on Oct 14, 2019

    @PVince81
    Contributor

    Like for the files drop feature we could add a "OC-Autorename" header that tells the server that we're ok with it renaming the target if a duplicate exists.

  13. added
    Priority:p1-urgent
    and removed
    Priority:p2-high
    on Dec 3, 2021
  14. fschade commented on Mar 24, 2022

    @fschade
    Contributor

    @tbsbdr please have a look, i tested it and think it's ok how web handles the case.

    • create file foo
    • delete file foo
    • create file foo
    • go to trash and restore foo

    then ui shows an error (see screenshot).

    alternatively web could show an option in thrashbin 'restore as'... but really not sure if it makes sense.
    Bildschirmfoto 2022-03-24 um 14 56 48

  15. removed this from the milestone on Oct 27, 2022
  16. AlexAndBear commented on Apr 14, 2023

    @AlexAndBear
    Contributor

    Closing as we have a name collision dialog now and everything is working as expected

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:p1-urgentType:Bugfeature:files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions