Project

General

Profile

Actions

Bug #62273

closed

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

Added by Jacob Rasmussen about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-10-16
Due date:
% Done:

100%

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

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.


Related issues 2 (0 open2 closed)

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

Actions
Related to TYPO3 Core - Bug #89780: It isn't possible to use a newly created local ResourceStorageClosed2019-11-26

Actions
Actions

Also available in: Atom PDF