Task #64196
closedMake it possible to re index files from storage 0
0%
Description
Currently all files outside of the available storages that are handled by the FAL api are indexed under pseudo storage 0. For example images in the uploads folder but also resources found in extension folders.
Problem with this is that for images the dimensions etc are stored in db and these do not get updated if a certain file gets replaced by another.
It should be possible to reindex these files just like other storages. With the side note that only files that are already are indexed should be re indexed and not that the whole typo3conf folder should get indexed.
For every updated indexed all linked processed files should be removed so a new processed file is created on next hit.
Updated by Philipp Gampe almost 10 years ago
We will need an own scheduler task for this.
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Pierrick Caillon over 9 years ago
- Status changed from New to In Progress
- Assignee set to Pierrick Caillon
Updated by Pierrick Caillon over 9 years ago
Frans Saris wrote:
For every updated indexed all linked processed files should be removed so a new processed file is created on next hit.
I am worrying about cache in this case. If we remove the file but do not clear the cache after replacing the file and running the task, a new client will not see the image because the page content is from cache with the no more existing file path. I don't think we should explicitly remove files from this task as it is not done on other storages.
Updated by Gerrit Code Review over 9 years ago
- Status changed from In Progress 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 http://review.typo3.org/40316
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40316
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40316
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40316
Updated by Helmut Hummel over 9 years ago
- Status changed from Under Review to Needs Feedback
Do we really, really want this?
Honestly I wished we could get rid of the fallback storage. Making indexing work again here works in a different direction
Updated by Pierrick Caillon over 9 years ago
- Assignee deleted (
Pierrick Caillon)
Updated by Susanne Moog over 9 years ago
- Sprint Focus changed from On Location Sprint to Remote Sprint
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack over 9 years ago
- Status changed from Needs Feedback to Rejected
should be done in a TER extension
Updated by David Henninger 7 months ago ยท Edited
This is still broken in Typo3 v12 LTS and no proper solution exists to reindex files that have updated dimensions.
Rejecting this bug is a mistake.
For now, I am deleting indexed files of storage 0 in sys_file to force a reindex and call referenceindex:update aftewards.