Deprecation: #110762 - StorageRepository->createLocalStorage() and legacy keys
See forge#110762
Description
File storages are configured in config/system/file-storages.yaml,
see Breaking: #110762 - File storages are configured in a file instead of the database. Two remains of the former database
table are deprecated:
\TYPO3\is replaced byCMS\ Core\ Resource\ Storage Repository->create Local Storage () add. The deprecated method keeps its signature and writes the file. A base path with the path typeLocal Storage () relativeis resolved against the public path as before, the description is ignored.- Listeners of
\TYPO3\that pass the keys of the formerCMS\ Core\ Resource\ Event\ Before Resource Storage Initialization Event sys_row tofile_ storage set, such asRecord () is_orpublic processingfolder, or a FlexForm string asconfiguration, are mapped to the normalized storage definition.
Impact
Both trigger a PHP
E_ error. The extension scanner
reports calls of
create.
Affected installations
Installations with extensions that create local storages programmatically
or modify storage records in a listener of
Before.
Migration
Call
add. Its base path is absolute or relative to the project path, so a
path formerly relative to the public path is prefixed accordingly, for
example
'public/ in a Composer based installation.
Listeners use the keys
identifier
,
default
,
browsable
,
public
,
writable
,
online
,
auto,
processing and an array as
configuration
.