Bug #39789

StorageRepository should ignore not found driver classes

Added by Georg Ringer 9 months ago. Updated 8 months ago.

Status:Resolved Start date:2012-08-14
Priority:Must have Due date:
Assignee:Georg Ringer % Done:

100%

Category:File Abstraction Layer (FAL)
Target version:6.0.0-beta2
TYPO3 Version:6.0 Complexity:
PHP Version:5.3
Votes: 0

Description

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.

Associated revisions

Revision 66914841
Added by Georg Ringer 8 months ago

[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

History

Updated by Gerrit Code Review 9 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Gerrit Code Review 9 months ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Gerrit Code Review 9 months ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Gerrit Code Review 9 months ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Andreas Wolf 9 months ago

This patch should get some test for the StorageRepository methods before going in.

Updated by Gerrit Code Review 9 months ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Gerrit Code Review 9 months ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Steffen Ritter 9 months ago

  • Target version changed from 6.0.0 to 6.0.0-beta2

Updated by Gerrit Code Review 8 months ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13643

Updated by Georg Ringer 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF