Breaking: #82899 - More restricting checks for API methods in ExtensionManagementUtility¶
See forge#82899
Description¶
The following methods within ExtensionManagementUtility
, the primary API class for
extensions registering additional components like plugins, modules or extending TCA functionality
now throw Exceptions with invalid calls:
addLLrefForTCAdescr()
requires a non-empty string as first argumentaddNavigationComponent()
requires the third argument ($extensionKey)addService()
requires the second argument to be non-empty, and the fourth argument as arrayaddPlugin()
requires the third argument ($extensionKey) to be setaddStaticFile()
requires the second and third argument to be non-emptyaddTypoScript()
requires the second argument to be eithersetup
orconstants
Impact¶
Calling any of the methods mentioned will trigger a InvalidArgumentException
.
Affected Installations¶
Any TYPO3 installation with an extension calling any of the methods above with missing information.
Migration¶
Add the required parameters to the API calls in your extension registration files, typically
located within ext_localconf.php
, ext_tables.php
or Configuration/TCA/*
of a extension.