Bug #101172
closedStreamline output of errer messages in case selected db is already filled
100%
Description
When running this command with a already filled database:
ddev typo3 setup \ --driver=mysqli \ --host=db \ --dbname=db \ --port=3306 \ --username=db \ --password=db \ --admin-username=admin \ --admin-user-password=Password.1 \ --admin-email="typo3@example.com" \ --force -n
the following exception is thrown:
In SetupCommand.php line 284: The selected database contains already 42 tables. Please delete all tables or select another database.
Streamline the message like the other error messaged
x The message
Updated by Gerrit Code Review 10 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/+/79583
Updated by Gerrit Code Review 10 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/+/79583
Updated by Jochen Roth 10 months ago
- Subject changed from setup command return wrong exit code to Streamline output of errer messages in case selected db is already filled
Updated by Gerrit Code Review 10 months ago
Patch set 3 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/+/79583
Updated by Gerrit Code Review 10 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79854
Updated by Anonymous 10 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4ad0c24779e158c561c34fe28b58666f45cb782e.