Project

General

Profile

Actions

Bug #91531

closed

Dashboard widgets registered using YAML cause exceptions if dashboard extension is not installed

Added by Felix Nagel almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
2020-05-29
Due date:
% Done:

0%

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

Description

When implementing custom EXT:dashboard widgets into an extension using the YAML configuration in "/Configuration/Services.yaml" it is required that the dashboard extension is installed. If not, runtime exception will break the whole TYPO3 installation.

A possible workaround would be using PHP to register the widgets, but wouldn't it be great if YAML only is possible too?

Reference:
https://github.com/fnagel/t3extblog/issues/228
https://docs.typo3.org/c/typo3/cms-dashboard/10.4/en-us/Configuration/WidgetRegistration.html#services-php-file
https://twitter.com/felixnagel/status/1265662692603367428

Actions

Also available in: Atom PDF