[BUGFIX] StorageRepository should ignore not found driver class
If a driver doesn't exist anymore, the storage repository shouldn't load it. Most drivers will be implemented by extensions but if this extension is deactived, the StorageRepository still tries to load this driver which is not possible anymore and this ends in an uncaught exception in BE. Therefore it should be checked if an implementation is available. Change-Id: Ib71bef82a53096746cff4bd9577d6adbeae90ac5 Fixes: #39789 Releases: 6.0 Reviewed-on: http://review.typo3.org/13643 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter
Showing
- typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php 9 additions, 0 deletionstypo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php
- typo3/sysext/core/Classes/Resource/StorageRepository.php 35 additions, 2 deletionstypo3/sysext/core/Classes/Resource/StorageRepository.php
- typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php 26 additions, 0 deletions...xt/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php
Please register or sign in to comment