[BUGFIX] StorageRepository should ignore not found driver class
authorGeorg Ringer <mail@ringerge.org>
Tue, 14 Aug 2012 04:35:07 +0000 (06:35 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 10 Oct 2012 13:36:29 +0000 (15:36 +0200)
commit669148413d5cc3e8dab8169055b3d8569a048abb
tree0cae756bb7c089ca0b1ce48feb60d1dabe99f3d2
parentdb3c302074be1fab6deef127786da5e065fcb611
[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
typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php
typo3/sysext/core/Classes/Resource/StorageRepository.php
typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php