User tests: Successful: Unsuccessful:
Pull Request for Issue #43902 .
This pull request (PR) updates the database framework package from 3.2.1 to 3.3.1.
See https://github.com/joomla-framework/database/releases/tag/3.3.0 and https://github.com/joomla-framework/database/releases/tag/3.3.1 for the changes.
This allows Joomla to use custom port numbers with PostgreSQL (PDO) in the same way as it is already possible with MySQLi and MySQL (PDO).
The database drivers have been changes so the same logic is used for all 3 drivers used by the CMS, so for the MySQL (PDO) driver using custom port numbers works as well as before but does not rely on a more or less undocumented behaviour of the PDO database connector.
As using custom port numbers seems not to be really documented somewhere - at least not as far as I could see - there is no documentation to be updated due to this PR.
Will be added soon. Will keep in draft mode as long as not done.
| Test | MySQLi | MySQL (PDO) | PosgreSQL (PDO) |
|---|---|---|---|
| IPv4 without port number | ✅ Success | ✅ Success | ✅ Success |
| IPv4 with non-default port number | ✅ Success | ✅ Success | 🟥 Failure |
| IPv6 without port number | ✅ Success | ✅ Success | ✅ Success |
| IPv6 with non-default port number | ✅ Success | ✅ Success | 🟥 Failure |
| Hostname without port number | ✅ Success | ✅ Success | ✅ Success |
| Hostname with non-default port number | ✅ Success | ✅ Success | 🟥 Failure |
| Unix socket | ✅ Success | ✅ Success | ✅ Success |
| Test | MySQLi | MySQL (PDO) | PosgreSQL (PDO) |
|---|---|---|---|
| IPv4 without port number | ✅ Success | ✅ Success | ✅ Success |
| IPv4 with non-default port number | ✅ Success | ✅ Success | ✅ Success |
| IPv6 without port number | ✅ Success | ✅ Success | ✅ Success |
| IPv6 with non-default port number | ✅ Success | ✅ Success | ✅ Success |
| Hostname without port number | ✅ Success | ✅ Success | ✅ Success |
| Hostname with non-default port number | ✅ Success | ✅ Success | ✅ Success |
| Unix socket | ✅ Success | ✅ Success | ✅ Success |
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | External Library Composer Change |
| Labels |
Added:
Feature
Composer Dependency Changed
PR-5.3-dev
|
||
| Title |
|
||||||
| Title |
|
||||||
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-02-03 16:55:09 |
| Closed_By | ⇒ | richard67 |
Running Joomla installation and one Cypress test with each test case before applying the PR with current
5.3-devand JBT version 2.1.19 and bash or zsh command line:5.3-devbranch IPv6 installation with joomla-cypress patches as currentjoomla-cms 5.3-devbranch is still usingjoomla-cypress1.1.1 (Update to 1.3.0 is undergoing with #44675). The patches doesn't harm the production environment as they are only needed for Cypress testing.Optional check the port forwading:
Optional check non-default port number database connections:
types/hosts/portsfor each test case:./doit53.shand running it:./doit53.shand running it again:🟥 1/5 the PostgreSQL test failed with:
./doit53.shand running it again:./doit53.shand running it again:🟥 1/5 the PostgreSQL test failed with:
./doit53.shand running it again:./doit53.shand running it again:🟥 1/5 the PostgreSQL test failed with:
./doit53.shand running it again:Applying this PR:
Repeating test steps 3 ... 9
Using either
the Joomla installation and Cypress tests are working with