Project

General

Profile

Actions

Bug #96567

closed

php ast catches wrong class

Added by Tobias Kasprak over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2022-01-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
RecordsContentObject, PageRenderer
Complexity:
Is Regression:
Sprint Focus:

Description

PHP AST recognizes the RecordsContentObject but mistakenly recognizes it as a PageRenderer and captures it as a page render class. This triggers the following error Breaking: #93003 - PageRenderer renders only full page
example method which throws the error
public function render() {
$conf = $this->buildConfArray($this->arguments['uid']);
$recordsObjectManager = $this->objectManager->get(RecordsContentObject::class);
return $this->RecordsContentObject->render($conf);
}
I would like to request a modification of the scanner.


Files

errorMessage.jpg (26.2 KB) errorMessage.jpg error message during run scan extension files in the admintools Tobias Kasprak, 2022-01-18 10:04

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #93003: PageRenderer only renders full page anymoreClosedBenni Mack2020-12-06

Actions
Actions

Also available in: Atom PDF