Breaking: #82899 - More restricting checks for API methods in ExtensionManagementUtility¶
See forge#82899
Description¶
The following methods within Extension
, the primary API class for
extensions registering additional components like plugins, modules or extending TCA functionality
now throw Exceptions with invalid calls:
add
requires a non-empty string as first argumentLLref For TCAdescr () add
requires the third argument ($extensionKey)Navigation Component () add
requires the second argument to be non-empty, and the fourth argument as arrayService () add
requires the third argument ($extensionKey) to be setPlugin () add
requires the second and third argument to be non-emptyStatic File () add
requires the second argument to be eitherTypo Script () setup
orconstants
Impact¶
Calling any of the methods mentioned will trigger a Invalid
.
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_
, ext_
or Configuration/
of an extension.