Bug #62273
closedIt isn't possible to use a newly created local ResourceStorage
100%
Description
If you create a new ResourceStorage through the StorageRepository->createLocalStorage method and there is already other ResourceStorages registered, it isn't possible to get the ResourceStorage object from either the StorageRepository->FindByUid or ResourceFactory->getStorageObject method.
This is due to caches not being updated after the new ResourceStorage record have inserted into the database.
I guess the best solution would be to have a signal to indicate when the storage cache should be updated, probably both in StorageRepository and ResourceFactory.
Updated by Bernhard Kraft over 6 years ago
- Tracker changed from Feature to Bug
- TYPO3 Version set to 9
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/56058
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/56058
Updated by Bernhard Kraft about 6 years ago
- Related to Bug #86689: [BUGFIX][FAL] Update local cache upon creation of new storage object added
Updated by Gerrit Code Review about 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/56058
Updated by Bernhard Kraft about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5715465d1c7997237d5dd0bbee4ba92fb8186291.
Updated by Yann Weyer almost 5 years ago
- Related to Bug #89780: It isn't possible to use a newly created local ResourceStorage added