[BUGFIX] Do not turn storages automatically offline 98/49798/7
authorSascha Egerer <sascha@sascha-egerer.de>
Fri, 2 Sep 2016 17:53:00 +0000 (19:53 +0200)
committerSascha Egerer <sascha@sascha-egerer.de>
Tue, 20 Sep 2016 06:29:24 +0000 (08:29 +0200)
commit157e1f269902c9b3ab57c95f71534949606fc658
tree2d99068b8950d1eeac5b42bc1b3856048ed81867
parent462a25e2380aad2a614299296baa697e042d8153
[BUGFIX] Do not turn storages automatically offline

Storages should not be taken offline automatically.
Currently the storage turns offline if a configuration error is
detected.
But depending on the driver a configuration error can be a temporary
problem that just exists for seconds (like local filemount is
not available).

A storage should only be turned offline if you are in the backend
context
and the initialization fails.

Resolves: #75184
Releases: master, 7.6
Change-Id: Iddb18305f96df1a116a5d209bae41a73f5bb0ad2
Reviewed-on: https://review.typo3.org/49798
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
typo3/sysext/core/Classes/Resource/ResourceStorage.php