Project

General

Profile

Actions

Bug #93820

closed

$contentObject = $this->configurationManager->getContentObject(); is deprecated

Added by Martin Weymayer about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2021-03-26
Due date:
% Done:

0%

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

Description

Since TYPO3 9.5.25 in following was added in FormRuntime.php:

$contentObject = $this->configurationManager->getContentObject();

This occures error:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function getContentObject() on null | Error thrown in file /var/www/vhosts/secon.users.aboliton.at/httpdocs/typo3_src-9.5.26/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php in line 549.

But this seems deprecatet https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.0/Deprecation-68748-DeprecateAbstractContentObjectgetContentObject.html

Actions

Also available in: Atom PDF