Bug #47140
closedProcessedFile/Thumbnail is always regenerated
100%
Description
A ProcessedFile/Thumbnail is always regenerated even if there are not modifications to the original file.
The reason for this spread all over the ProcessedFile handling and boils down to a new ProcessedFile is being persisted in the file-system by using a regular ResourceStorage::addFile() call that results in a plain File object. The indexer then tries to load this file and will create a new UID for the thumbnail in sys_file. This uid value is then used to update(!) the sys_file_processedfile entry - which fails since the uid was taken from sys_file.
Since this is spead a lot, the only chance to overcome this, is to halt the indexer if the file identifier starts with the processing folder identifier.
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/19809
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19810
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19810
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/19809
Updated by Oliver Hader about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c9a27c2bcea4d97d2d6214c0c9de1f05fee60ace.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed