[TASK] Bring back t3lib_extMgm class alias 14/34014/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 12 Nov 2014 13:56:18 +0000 (14:56 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 12 Nov 2014 14:19:02 +0000 (15:19 +0100)
t3lib_extMgm::extPath() is used in ext_autoload.php of lots of third
party extensions. Removing this alias lets the core fatal, resulting
in a stalled lock file in early bootstrap. This gives quite some hassle.
To mitigate, t3lib_extMgm class alias is exceptionally added again.

Resolves: #62852
Releases: master
Change-Id: I309aaae067ec4a430ebb8985554cb6750eb8ec09
Reviewed-on: http://review.typo3.org/34014
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/compatibility6/Migrations/Code/ClassAliasMap.php
typo3/sysext/core/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]

index 85b1ea1..78a5057 100644 (file)
@@ -208,7 +208,6 @@ return array(
        't3lib_error_http_UnauthorizedException' => 'TYPO3\\CMS\\Core\\Error\\Http\\UnauthorizedException',
        't3lib_error_ProductionExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\ProductionExceptionHandler',
        't3lib_exception' => 'TYPO3\\CMS\\Core\\Exception',
-       't3lib_extMgm' => 'TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility',
        't3lib_formprotection_Abstract' => 'TYPO3\\CMS\\Core\\FormProtection\\AbstractFormProtection',
        't3lib_formprotection_BackendFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\BackendFormProtection',
        't3lib_formprotection_DisabledFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\DisabledFormProtection',
@@ -280,4 +279,4 @@ return array(
        't3lib_utility_VersionNumber' => 'TYPO3\\CMS\\Core\\Utility\\VersionNumberUtility',
        'SC_view_help' => 'TYPO3\\CMS\\Cshmanual\\Controller\\HelpModuleController',
        'tx_cssstyledcontent_pi1' => 'TYPO3\\CMS\\CssStyledContent\\Controller\\CssStyledContentController',
-);
\ No newline at end of file
+);
diff --git a/typo3/sysext/core/Migrations/Code/ClassAliasMap.php b/typo3/sysext/core/Migrations/Code/ClassAliasMap.php
new file mode 100644 (file)
index 0000000..7e9ec4f
--- /dev/null
@@ -0,0 +1,4 @@
+<?php
+return array(
+       't3lib_extMgm' => 'TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility',
+);