Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation: #102821 - ExtensionManagementUtility::addPItoST43() #4333

Open
simonschaufi opened this issue Oct 15, 2024 · 0 comments
Open

Deprecation: #102821 - ExtensionManagementUtility::addPItoST43() #4333

simonschaufi opened this issue Oct 15, 2024 · 0 comments

Comments

@simonschaufi
Copy link
Collaborator

Deprecation: #102821 - ExtensionManagementUtility::addPItoST43()

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-102821-ExtensionManagementUtilityaddPItoST43.html

Deprecation: #102821 - ExtensionManagementUtility::addPItoST43()

See 102821

Description

The method
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43() has
been marked as deprecated in TYPO3 v13 and will be removed with TYPO3
v14.

Impact

Using the ExtensionManagementUtility::addPItoST43() will raise a
deprecation level log entry and a fatal error in TYPO3 v14.

Affected installations

Extensions using ExtensionManagementUtility::addPItoST43() are
affected: Using ExtensionManagementUtility::addPItoST43() triggers a
deprecation level log message. The extension scanner will find usages of
ExtensionManagementUtility::addPItoST43() as strong match.

Migration

// Before:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43('my_extkey', '', '_pi1');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
    'tx_myextkey',
    'setup',
    'plugin.tx_myextkey_pi1.userFunc = MY\MyExtkey\Plugins\Plugin->main'
);

// After:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
    'my_extkey',
    'setup',
    'plugin.tx_myextkey_pi1 = USER_INT
     plugin.tx_myextkey_pi1.userFunc = MY\MyExtkey\Plugins\Plugin->main'
);

LocalConfiguration, PHP-API, FullyScanned, ext:core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant