[BUGFIX] Initialize database connection in ClearCacheService 50/39950/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 20 May 2015 19:06:03 +0000 (21:06 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 4 Jun 2015 10:57:18 +0000 (12:57 +0200)
commitbef83c86b8fe8bcee6822ee9d8f735e78b70f840
tree8a0d806fc2552bfa32af603ab7e24c8afdca67f3
parent027acbca6b7fdde07de9367aab64270a147b2e4d
[BUGFIX] Initialize database connection in ClearCacheService

Without calling initialize() on the DatabaseConnection object
the DBAL the resulting connection configuration will default
to the "native" driver type (MySQL) which results in an error
as there is no MySQL server to contact with the given connection
parameters.

Resolves: #67066
Releases: master, 6.2
Change-Id: Id5d70a122dcca806ee1122cecacad0c8aef27547
Reviewed-on: http://review.typo3.org/39950
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php
typo3/sysext/install/Classes/Service/ClearCacheService.php