This Pull Request (PR) corrects the ordering of the fields for database connection encryption options in the installation form so it is the same as in the server tab of global configuration in backend when value"Two-way authentication" is selected in drop down "Connection Encryption". For the other values "Default (server controlled)" and "One-way authentication" of this drop down ordering is already ok.
The reason for the wrong ordering is a mistake I've made in my PR #27348 .
On an installed 4.0-dev or recent nightly build, login to backend and go to the "Server" tab of "Global Configuration".
Select option "Two-way authentication" in the drop down "Connection Encryption".
Note the order of the fields for database encryption e.g. by making a screenshot.
Set the switcher "Server Certificate Verification" to "Yes".
Note again the order of the fields for database encryption e.g. by making a screenshot.
Start a new installation of the same 4.0-dev code or nightly build package on another server, or use the same server and delete configuration.php before starting the installation.
When coming to the databae connection options, select option "Two-way authentication" in the drop down "Connection Encryption".
Note the order of the fields for database encryption e.g. by making a screenshot.
Set the switcher "Server Certificate Verification" to "Yes".
Note again the order of the fields for database encryption e.g. by making a screenshot.
Compare the results from global configuration and the installation form. Result: See section "Actual result" below.
Apply this PR.
Repeat steps 6 to 11. Result: See section "Expected result" below.
Expected result
The ordering of fields for database connection encryption options is the same as in global configuration in backend.
2-way authentication without server certificate verification:
2-way authentication with server certificate verification:
Actual result
2-way authentication without server certificate verification:
2-way authentication with server certificate verification:
Documentation Changes Required
No. Help screens for installation form have to be updated anyway.
I have tested this item✅ successfully on fa252d3
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27727.