Project

General

Profile

Actions

Bug #92806

closed

Uncatched exception when copying a folder to the same parent folder

Added by Xavier Perseguers about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2020-11-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Files

Actions

Also available in: Atom PDF