Project

General

Profile

Actions

Bug #97542

open

TYPO3 Module Reports throws Exception if no site exists

Added by Josef Glatz about 2 years ago. Updated 2 months ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Start date:
2022-05-03
Due date:
% Done:

0%

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

Description

Requirements

Opening the reports module while having no site throws an error:

TypeError

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::__construct(): Argument #2 ($site) must be of type TYPO3\CMS\Core\Site\Entity\Site, TYPO3\CMS\Core\Site\Entity\NullSite given, called in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2943

How to test

The reports module must not break if no site is configured in a TYPO3 instance.


Files

image.png (402 KB) image.png Josef Glatz, 2022-05-03 11:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95713: Reports module and html sanitizer is limiting output (icon, javascript...)ClosedOliver Hader2021-10-20

Actions
Actions

Also available in: Atom PDF