Breaking: #64714 - Catch exceptions for inaccessible storages
See forge#64714
Description
Changed TYPO3CMSCore to extend
from TYPO3CMSCore instead of Runtime
Impact
If a call to TYPO3CMSCore throws an exception and
your extension catches Runtime it breaks on permission read errors.
Migration
To write a compatible extension you can do following in your catch block:
} catch(\RuntimeException $e) {
// Do exception handling
} catch(\TYPO3\CMS\Core\Resource\Exception\ResourcePermissionsUnavailableException $e) {
// Do same exception handling
}
Copied!