Bug #83532
closedExtensionManagementUtility::addLLrefForTCAdescr don't detect parameter
100%
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.
Files
Updated by Nicole Cordes over 6 years ago
- Status changed from New to Needs Feedback
Hi,
Would you mind to provide either the extension or the complete error log? Maybe you have moved some code to Configuration/TCA/Overrides folder and forget to provide the extension key instead of $_EXTKEY?
Updated by Gerrit Code Review over 6 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55327
Updated by Hans-Georg Althoff over 6 years ago
- File hgapeopledb.7z hgapeopledb.7z added
Thanks for your support. I have attached the file.
Under 8.7.9 the ext works fine.
Updated by Nicole Cordes over 6 years ago
Hi,
The problems raise up within your Configuration/TCA/Override files. All three files call the function with an empty first parameter. The patch attached to this issue, is solving the exception message. But the implementation problem is on your site.
Thank you for sharing the extension and being able to analyse the problem.
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a153795fcbc87df18e03974c29b188099d83939d.