J4 Issue ?
avatar SharkyKZ
SharkyKZ
16 Aug 2019

Steps to reproduce the issue

Try to install using PDO driver and non-existing database.

Expected result

Installation succeeds.

Actual result

Installation fails.

System information (as much as possible)

4.0-dev nightly

Additional comments

Joomla\CMS\Installation\Model\DatabaseModel has code for creating database but it never runs, installation stops here because PDO driver throws an exception when database doesn't exist.

catch (\RuntimeException $e)
{
Factory::getApplication()->enqueueMessage(Text::sprintf('INSTL_DATABASE_COULD_NOT_CONNECT', $e->getMessage()), 'error');
return false;

avatar SharkyKZ SharkyKZ - open - 16 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 16 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2019
Status New Discussion
avatar roland-d
roland-d - comment - 12 Sep 2019

Closing as we have a PR #26273

avatar roland-d roland-d - close - 12 Sep 2019
avatar roland-d roland-d - change - 12 Sep 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-09-12 08:37:04
Closed_By roland-d

Add a Comment

Login with GitHub to post a comment