Issue Bug Closed

#90454Don't break dashboard if widget is no longer available

Daniel Siepmann 02/20/20, 22:04 updated 03/04/20, 14:37

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.