Bug #92806
closedUncatched exception when copying a folder to the same parent folder
100%
Description
How to reproduce:
- Create a folder
user_upload/test
- Copy this folder to the clipboard
- Go to
user_upload/
- 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
Updated by Riccardo De Contardi almost 4 years ago
- Category set to Backend User Interface
Updated by Richard Haeser almost 4 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
Updated by Richard Haeser almost 4 years ago
- Assignee set to Richard Haeser
I always struggle getting the image in the text...
But I'm on the issue itself!
Updated by Xavier Perseguers almost 4 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 :)
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review almost 4 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
Updated by Gerrit Code Review over 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
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/+/68111
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/+/68111
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Richard Haeser over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 38dcf7c41dd79ee1da7a355d1d21c83d069492a7.