Actions
Bug #102994
closedtypo3 setup throws exception as port is not casted to int
Start date:
2024-01-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TYPO3_DB_PORT=3306 \ TYPO3_DB_USERNAME=db \ TYPO3_DB_HOST=db \ TYPO3_DB_DBNAME=db \ TYPO3_DB_PASSWORD=db \ TYPO3_DB_DRIVER=mysqli \ TYPO3_SERVER_TYPE=other \ TYPO3_SETUP_ADMIN_EMAIL=admin@example.com \ TYPO3_SETUP_ADMIN_USERNAME=admin \ TYPO3_SETUP_ADMIN_PASSWORD='Pa$$w0rd' \ TYPO3_SETUP_CREATE_SITE="${DDEV_PRIMARY_URL}/" \ TYPO3_PROJECT_NAME="Test Install" \ vendor/bin/typo3 setup --force Enter the database "port" [default: 3306] ? 3306 Uncaught TYPO3 Exception mysqli::real_connect(): Argument #5 ($port) must be of type ?int, string given thrown in file /var/www/html/.build/v13/vendor/doctrine/dbal/src/Driver/Mysqli/Driver.php in line 44
Updated by Gerrit Code Review 7 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82717
Updated by Gerrit Code Review 7 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82717
Updated by Anonymous 7 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 90e286e56eb55a1e0f5888b0f8f65917d97eedf4.
Updated by Christian Kuhn 7 months ago
- Related to Bug #103008: Broken CLI-based installation in 13.0.0 due to required DB port as type ?int but got string added
Actions