Project

General

Profile

Actions

Bug #92806

closed

Uncatched exception when copying a folder to the same parent folder

Added by Xavier Perseguers over 3 years ago. Updated almost 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 #1

Updated by Riccardo De Contardi over 3 years ago

  • Category set to Backend User Interface
Actions #2

Updated by Richard Haeser over 3 years ago

Can confirm in current master as well. I would opt to keep it the same as when you do the same action with a file as the current bugfix. We might want to check if this is something we can enhance in general.

See attached screenshot

Actions #3

Updated by Xavier Perseguers over 3 years ago

Actions #4

Updated by Richard Haeser over 3 years ago

  • Assignee set to Richard Haeser

I always struggle getting the image in the text...

But I'm on the issue itself!

Actions #5

Updated by Xavier Perseguers over 3 years ago

Richard Haeser wrote in #note-4:

I always struggle getting the image in the text...

That's a bad idea to upload files with blank spaces. But I know how easy it happens. The trick in that case is to replace the blank spaces with %20 when trying to embed the image :)

Actions #6

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #7

Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #8

Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #9

Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #10

Updated by Gerrit Code Review about 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #11

Updated by Gerrit Code Review about 3 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #12

Updated by Gerrit Code Review about 3 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #13

Updated by Gerrit Code Review about 3 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #14

Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68111

Actions #15

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68111

Actions #16

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68111

Actions #17

Updated by Gerrit Code Review about 3 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67442

Actions #18

Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68323

Actions #19

Updated by Richard Haeser about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #20

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF