Task #62852
Bring back class aliases to prevent Fatal Error
Status: | Resolved | Start date: | 2014-11-11 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | Code Cleanup | Spent time: | - | |
Target version: | 7.0 | |||
TYPO3 Version: | 7 | Complexity: | no-brainer | |
PHP Version: | Sprint Focus: |
Description
In an early state of the bootstrap all ext_autoload files are processed. During the cleanup of class aliasses ext_Mgm and t3lib_div are removed. This causes in instances without enabled sysext:compatibility6 a Fatal Error, that results in the meanwhile well known Exception 'could not aquire lock file.'. In order to mitigate this situation, we will bring back those two class aliasses and will keep them in the core for the time being.
These two classes are exceptions and there shouldn't be added more than that without very good reasons.
Related issues
Associated revisions
[TASK] Bring back t3lib_extMgm class alias
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>
History
#1 Updated by Anja Leichsenring 9 months ago
- Subject changed from Bring back class aliasses to prevent Fatal Error to Bring back class aliases to prevent Fatal Error
#2 Updated by Christian Kuhn 9 months ago
- Description updated (diff)
#3 Updated by Christian Kuhn 9 months ago
- Description updated (diff)
#4 Updated by Gerrit Code Review 9 months ago
- Status changed from New 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 http://review.typo3.org/34014
#5 Updated by Christian Kuhn 9 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 134cae7eb3f6d1922ae47cfb1706ca0b3413da0d.