Bug #81836
closeddeleting a file inside _recycler_ folder generates new file with preview_ prefix
Added by Alexander Grein over 7 years ago. Updated about 6 years ago.
100%
Description
- Add a folder called recycler
- Delete any image file somewhere inside fileadmin
- Take a look inside recycler folder and see (first bug) an additional preview_-File
- Try to delete one of those files inside recycler folder and see the new generated files with preview_ prefix
- Same problem exists if you try to delete old files using scheduler task
Updated by Alexander Grein over 7 years ago
This problem also exists in TYPO3 7.6.20
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from New to Needs Feedback
Where should the "recycler" folder be added? Inside fileadmin? Could you add a step-by-step guide about how to reproduce this issue? Thank you!
Updated by Alexander Grein almost 7 years ago
- Open Backend-Module Filelist
- Click on the root of "fileadmin/ (auto-created)" storage
- Click on the Plus-Sign to add a new folder named `_recycler_`
- Go to any other folder and upload a picture (e.g. a png image) to it
- Click on the same folder again, where you uploaded the picture and press the delete icon (bucket), available in the extended view
- Change to the former created `_recycler_` folder and realize two new files: the deleted one and a file named 'preview_' + filename_of_the_deleted_file_without_extension + '_' + hash + fileextension_of_the_deleted_file
- Deleting the deleted file inside this recycler folder again, by pressing the delete icon works perfect
- Try to delete the 'preview_'-file ends with a new generated preview-file with this schema: + 'preview_preview_' + filename_of_the_deleted_file_without_extension + '_' + hash + '_' + hash + fileextension_of_the_deleted_file
- If you try to delete this again you will get a new file 'preview_preview_preview_' + filename_of_the_deleted_file_without_extension + '_' + hash + '_' + hash + '_' + hash + fileextension_of_the_deleted_file
- And so on
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Needs Feedback to New
I am able to reproduce it on 8.7.10, even deleting the "normal" <filename>
I get a new file preview_<filename>_<hash>
It seems solved on version 9.2.0 can you confirm?
Updated by Guido S. over 6 years ago
Can confirm it with latest master (9.2.-dev)
CASE A: "normal" <filename> I get a new file preview_<filename>_<hash>
If you upload a file TYPO3 generates a preview image in typo3\sysext\core\Classes\Resource\Processing\LocalPreviewHelper.php::process() So if you delete the parent, you should delete the child. That's fine. I think we can delete this image file directly. If you recover the original file, it generates a new preview image.
CASE B: Recursive preview files is reproducable with option "Display thumbnails"
If you have delete the preview image and activate "display thumbnails" the processTask generate a new preview image. If we handle Case A correctly (delete preview image), we haven't got this problem.
Updated by Gerrit Code Review over 6 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/56503
Updated by Guido S. over 6 years ago
- Is duplicate of Bug #79116: Delete-infinite-loop: fileadmin/_recycler_ preview images added
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Under Review to Closed
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Closed to Under Review
sorry, wrong closing
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 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/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Gerrit Code Review over 6 years ago
Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56503
Updated by Guido S. over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0d583b438880fe72b35deb784fe7469b42e32096.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56917
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 594059c658e7e23327341c51c23b8b10d6b8e9c5.
Updated by Alexander Stehlik over 6 years ago
- Related to Bug #85019: Recycler folder detection loop does not end added
Updated by Nicole Cordes over 6 years ago
- Related to Bug #85079: You are not allowed to access the given folder: "user_upload" added
Updated by Markus Klein over 5 years ago
- Related to Bug #88632: File cannot be deleted from a storage that is not browsable added