Actions
Bug #102692
closedAvoid type errors in `ResourceFactory` methods
Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2023-12-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
With #92289 logic has been decoupled from `ResourceFactory`
into the `StorageRepository`. As a side change, native php
typeing has been added to a couple of methods.
`StorageRepository->findByUid()` paramter type has been set
to integer, which breaks the `null` fallback and retrieving
the default storage `uid: 0` in `ResourceFactory` method
`getStorageObjectFromCombinedIdentifier()`. Even worser is
the fact that `getObjectFromCombinedIdentifier()` does not
even try to cope with a invalid provided identifier.
Actions