Project

General

Profile

Actions

Bug #104793

closed

Fatal error when overwriting defaultViewObjectName

Added by Benjamin Franzke 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Must have
Category:
Extbase
Target version:
-
Start date:
2024-09-02
Due date:
% Done:

0%

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

Description

Only happens in current-main (since https://github.com/TYPO3/typo3/commit/c22b72cde6838f4a080a22bde25b9f3632337169).

Fatal error: Type of MyNamespace\Controller\MyController::$defaultViewObjectName must be ?string (as in class TYPO3\CMS\Extbase\Mvc\Controller\ActionController)

This error happens since https://review.typo3.org/c/Packages/TYPO3.CMS/+/85735/ changed string to ?string in https://review.typo3.org/c/Packages/TYPO3.CMS/+/85735/60/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php#97.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #104773: Implement and use a core ViewFactoryInterfaceClosed2024-08-29

Actions
Related to TYPO3 Core - Task #102632: Use strict types in extbase ActionControllerClosedTorben Hansen2023-12-08

Actions
Related to TYPO3 Core - Task #104770: Do not declare extbase defaultViewObjectName, set itClosed2024-08-29

Actions
Actions

Also available in: Atom PDF