[BUGFIX] Move Doctrine custom type init back to ConnectionPool 55/56355/2
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Tue, 16 Jan 2018 15:11:34 +0000 (16:11 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 19 Mar 2018 12:17:40 +0000 (13:17 +0100)
commitc6a630bcd0956ef7b40bd32d3a8df7198764f48f
treee80ccf83d7910a757252c57cf56eb695b069700d
parent87aa901120cc7b80858169a4bc10b85769237db0
[BUGFIX] Move Doctrine custom type init back to ConnectionPool

To prevent race conditions etc. the custom type init which was moved
in patch https://review.typo3.org/#/c/54512/ gets reverted.

To fix the issue with the pageUnavailable_handling the method
TyposriptFrontendController::connectToDB handles the error correctly via
try catch block.

Change-Id: I4f410d82e54c182d7b032a8ab4486d5b3b859382
Releases: master, 8.7
Resolves: #83577
Related: #82795
Reviewed-on: https://review.typo3.org/56355
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Connection.php
typo3/sysext/core/Classes/Database/ConnectionPool.php
typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php