[BUGFIX] DBAL: Incomplete database configuration 45/28045/6
authorXavier Perseguers <xavier@typo3.org>
Tue, 11 Mar 2014 15:08:26 +0000 (16:08 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 11 Mar 2014 17:25:14 +0000 (18:25 +0100)
commitc5f4b18bbcd327c25b88741d4b8c4925a75a09a3
treead9fc676c22abaed8ec04f7713807d1f794e89e5
parent97aa83fc26c21f794bb1fd3ffa44142af6cbe077
[BUGFIX] DBAL: Incomplete database configuration

When no database connection is established, handler_init() is used. But
at this point, the credentials are unkown and the method returns void.

As all parameters of method sql_pconnect() are deprecated, move the
_DEFAULT initialization into method handler_init() to get credentials
into the DBAL configuration.

Resolves: #56257
Releases: 6.2
Change-Id: Ifd908fab1382434d376a9358d0ae9c3af083616e
Reviewed-on: https://review.typo3.org/28045
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Andreas Fernandez
Tested-by: Andreas Fernandez
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php