[BUGFIX] Move Doctrine custom type init back to ConnectionPool 79/55379/6
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Tue, 16 Jan 2018 15:11:34 +0000 (16:11 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 18 Mar 2018 12:27:54 +0000 (13:27 +0100)
commitba5b5242326da95220e441cf0432ba0bb6e9f365
treee29e7ee677f298f42146910a351f17552707d553
parent4a74f00e6625ee2e12227dddcdb7b547e1d03654
[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/55379
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.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