Bug #89780

It isn't possible to use a newly created local ResourceStorage

Added by Yann Weyer over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2019-11-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Same as Bug #62273 :

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.


Related issues

Related to TYPO3 Core - Bug #62273: It isn't possible to use a newly created local ResourceStorageClosed2014-10-16

Actions
Related to TYPO3 Core - Bug #86689: [BUGFIX][FAL] Update local cache upon creation of new storage objectClosed2018-10-18

Actions
#1

Updated by Yann Weyer over 1 year ago

  • Related to Bug #62273: It isn't possible to use a newly created local ResourceStorage added
#2

Updated by Gerrit Code Review over 1 year 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/+/62474

#3

Updated by Gerrit Code Review over 1 year ago

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/c/Packages/TYPO3.CMS/+/62475

#4

Updated by Benni Mack over 1 year ago

  • Related to Bug #86689: [BUGFIX][FAL] Update local cache upon creation of new storage object added
#5

Updated by Yann Weyer over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF