#99429Backend module configuration insists to have labels explicitly set
Description
Given the following configuration in Configuration/Backend/Modules.php:
return [
'my_module' => [
// ...
'labels' => [
'title' => 'LLL:EXT:my_ext/Resources/Private/Language/Module/locallang.xlf:module.title',
'description' => 'LLL:EXT:my_ext/Resources/Private/Language/Module/locallang.xlf:module.description',
'shortDescription' => 'LLL:EXT:my_ext/Resources/Private/Language/Module/locallang.xlf:module.shortDescription',
],
]
]
everything works as expected. However, when I omit either the title or the shortDescription, calling the backend throws the following exception:
#1351584844 TYPO3Fluid\Fluid\Core\ViewHelper\Exception An argument "key" or "id" has to be provided in /var/www/html/vendor/typo3/cms-fluid/Classes/ViewHelpers/TranslateViewHelper.php line 149
When I omit “description”, the backend works as expected.
Tested with v12.2.0-dev.