You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
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
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
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
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.
Activity
[-]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[/+][-]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[/+]LukasHirt commentedon Sep 11, 2019
Hmm, seems like this will need change in the API. You'll probably need to take over here @DeepDiver1975 ?
PVince81 commentedon Oct 14, 2019
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.
fschade commentedon Mar 24, 2022
@tbsbdr please have a look, i tested it and think it's ok how web handles the case.
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.

AlexAndBear commentedon Apr 14, 2023
Closing as we have a name collision dialog now and everything is working as expected