Bug #70697
closedPossible silent fatal error with legacy extensions
100%
Description
Step to reproduce¶
- Ensure EXT:compatibility6 is not loaded
- Have an extension coming with an update script @class.ext_update.php` like that:
class ext_update extends t3lib_SCbase { // ... }
- Open Extension Manager
This results into a white screen without any error nor log entry.
Updated by Gerrit Code Review about 9 years 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/44059
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/44059
Updated by Xavier Perseguers about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3996256b10585b8ca09975cf72deba1f0cf584ca.
Updated by Xavier Perseguers about 9 years ago
Fix for TYPO3 6.2:
diff --git a/typo3/sysext/extensionmanager/Classes/Utility/UpdateScriptUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/UpdateScriptUtility.php index 9766ee6..0ee2213 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/UpdateScriptUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/UpdateScriptUtility.php @@ -115,7 +115,7 @@ class UpdateScriptUtility { } else { $className = $matches[1] . '\ext_update'; } - @include_once $updateScript; + include_once $updateScript; if (!class_exists($className, FALSE)) { throw new ExtensionManagerException( sprintf('class.ext_update.php of extension "%s" did not declare ext_update class', $extensionKey),
Updated by Gerrit Code Review about 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/44120
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/44120
Updated by Xavier Perseguers about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset f186f39bfc6f0a9b9d82c23ffe9a9ba5a434cc38.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed