NC 28 uploads via WebUI - not asking for overwrite of existing folders or files?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 28.0.2.5
Operating system and version (eg, Ubuntu 20.04): ubuntu 22.04.3
Apache or nginx version (eg, Apache 2.4.25): NGinx 1.25
PHP version (eg, 7.4): 8.2.15

The issue you are facing:
drag an drop a folder or file to a nextcloud destination

re-drag and drop the same folder (same contents) or same file to the same nc destination
→ no ask for "file already exist - overwirte? nor anything else

NC just overwrite files and /or folders if this behaviour is reproducable for others too please feel free to post here - i have tested now for several filetypes, destinations (homedir / groupfolders / etc)
all the same!

Is this the first time you’ve seen this error? (Y/N): Y (!)

Steps to replicate it:

  1. upload files / folders to nc
  2. upload same content a second time to the same destination
  3. have no hint or warning overwriting existing content (could accidentically happen)

The output of your Nextcloud log in Admin > Logging:

nothing

This doesn’t happen if using webdav via e.g. double-commander or any other tool that is able to establish webdav connections

The behaviour happen when using drag and drop.
Using the button of nc + new file does deliver the question which version you will keep or overwrite → so drag and drop seems to have different behaviour!

also have a look here

Because i have waited with the upgrade from 27 to 28 until there is minimum the second point release of NC 28 i can’t confirm if this is an issue already in NC 28.0.0 and / or 28.0.1 either.

Definitely it is a severe bug because it has potential to “damage” your files if you don’t pay high attention using the drag and drop function for uploads especially in folders with many many files you could accidentically overwrite yours or others work status in seconds by overwriting existing work.