Project

General

Profile

Actions

Bug #90454

closed

Don't break dashboard if widget is no longer available

Added by Daniel Siepmann about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Dashboard
Target version:
Start date:
2020-02-20
Due date:
% Done:

0%

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

Description

If a PHP Class for a widget does no longer exist, the whole dashboard breaks.
An example would be:

( ! ) Fatal error: Class 'TYPO3\CMS\Dashboard\Widgets\AbstractDoughnutChartWidget' not found in htdocs/typo3conf/ext/styleguide/Classes/Widgets/Pages.php on line 32

This widget extends the AbstractDoughnutChartWidget, which no longer exists, as I've removed the cherry picked patch. I guess the same behaviour would happen once an extension is removed from the system, which provided a widget that was added to a dashboard.

Actions

Also available in: Atom PDF