Project

General

Profile

Actions

Bug #102692

closed

Avoid type errors in `ResourceFactory` methods

Added by Stefan Bürk 11 months ago. Updated 5 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92289: Decouple logic of ResourceFactory into StorageRepositoryClosedBenni Mack2020-09-11

Actions
Actions

Also available in: Atom PDF