?
avatar PhilETaylor
PhilETaylor
18 Dec 2020

Steps to reproduce the issue

Install Joomla 3.9.24rc
Go to Joomla Global Config
Click Modify next to Database Password
DON'T enter a password
Click Save
see correct error "Could not connect to database."
Note database password is now locked and blank
Navigate to another Joomla admin url, lets say go and view your menu items for example)
Return to Joomla Global Config (for example, to make a changing to another config setting like site name)
Click SAVE

Expected result

No error

Actual result

Error
Could not connect to database.

Additional comments

This is because Joomla stores failed form submissions in the session to re-populate the form ...

avatar PhilETaylor PhilETaylor - open - 18 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - change - 18 Dec 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Dec 2020
avatar PhilETaylor PhilETaylor - change - 18 Dec 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 18 Dec 2020
avatar PhilETaylor PhilETaylor - change - 18 Dec 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 18 Dec 2020
avatar HLeithner
HLeithner - comment - 18 Dec 2020

Thanks for the report I will look into it.

avatar HLeithner
HLeithner - comment - 18 Dec 2020

Closing we have a PR #31728

Can you have a look @PhilETaylor

avatar HLeithner HLeithner - change - 18 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-18 22:45:53
Closed_By HLeithner
avatar HLeithner HLeithner - close - 18 Dec 2020

Add a Comment

Login with GitHub to post a comment