[BUGFIX] Initialize database connection in ClearCacheService 36/39636/4
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 20 May 2015 19:06:03 +0000 (21:06 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 25 May 2015 11:40:48 +0000 (13:40 +0200)
commite3fbdaddf1504912beacf29d1204e2531d0059d7
tree69d31a1c235624b57b7914f818450ba8e791a963
parentc28a8f372d74e095a934e4d4e789345fb35d7722
[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/39636
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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