Issue Bug Closed

#83532ExtensionManagementUtility::addLLrefForTCAdescr don't detect parameter

Hans-Georg Althoff 01/10/18, 18:04 updated 10/02/18, 10:53

Description

After installing a own extension I received the error message:

No extension key set in addLLrefForTCAdescr(). Provide it as third parameter

But in the ext_tables.php the code looks like

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_hgapeopledb_domain_model_people', 'EXT:hgapeopledb/Resources/Private/Language/locallang_csh_tx_hgapeopledb_domain_model_people.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_hgapeopledb_domain_model_peoplegroup', 'EXT:hgapeopledb/Resources/Private/Language/locallang_csh_tx_hgapeopledb_domain_model_peoplegroup.xlf');

The term “Provide it as third parameter” is very strange for me. Because in the code the first parameter is checked!
And this parameter is not empty in both cases.

Reviews 1