Bug #70697
closed
Possible silent fatal error with legacy extensions
Added by Xavier Perseguers about 9 years ago.
Updated about 7 years ago.
Category:
Extension Manager
Sprint Focus:
Remote Sprint
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 {
// ...
}
This results into a white screen without any error nor log entry.
- 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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
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),
- 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
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
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF