core icon indicating copy to clipboard operation
core copied to clipboard

Dragging a folder into a folder causes MKCOL status 405

Open phil-davis opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. login to the oC10 classic webUI
  2. create a folder topFolder
  3. drag some folder testFolder from the desktop and drop it on top of topFolder

Expected behaviour

testFolder should be created inside topFolder without any bad request responses.

Actual behaviour

testFolder is created inside topFolder - good. But the webUI also sends an MKCOL for topFolder - trying to create topFolder. That request gets an HTTP 405 response, because topFolder already exists.

Server configuration

Current oC10 core master.

drag-into-folder

In the screenshot, I dragged folder test and then test456 into topFolder. They both caused the useless MKCOL request that gets a 405 response.

I dragged a file into topFolder and that does not cause the useless MKCOL request.

phil-davis avatar Apr 20 '22 05:04 phil-davis

I noticed this while testing PR #39966

Nothing is very broken from an end-user point-of-view, but it would be nice to not do the needless MKCOL API request.

phil-davis avatar Apr 20 '22 05:04 phil-davis