Issue Bug Closed

#92806Uncatched exception when copying a folder to the same parent folder

Xavier Perseguers 11/09/20, 15:54 updated 05/11/21, 16:00

Description

How to reproduce:

  1. Create a folder user_upload/test
  2. Copy this folder to the clipboard
  3. Go to user_upload/
  4. Paste the folder from the clipboard

What happens?

  • TYPO3 crashes with #1476107295 TYPO3\CMS\Core\Error\Exception since mkdir() failed.

Expected:

  • A (nice) error message explaining you can’t copy a folder to the same parent folder (or something like that).
  • Alternatively: show the duplication dialog and allow to rename copied folder to a unique name (or cancel the operation)

Reviews 4