Project

General

Profile

Actions

Bug #105573

open

Command "extension:setup" fails on empty database

Added by Jochen Roth 28 days ago. Updated 3 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
CLI
Start date:
2024-11-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The "extension:setup" currently fails on a empty database.
One would expect the command to create all tables and fields according to the schema.

But currently it fails with the following message.

✗ ddev typo3 extension:setup

In ExceptionConverter.php line 40:

  An exception occurred while executing a query: Table 'db.be_users' doesn't exist  

In ConnectionError.php line 28:

  Table 'db.be_users' doesn't exist  

In Connection.php line 33:

  Table 'db.be_users' doesn't exist  

extension:setup [-e|--extension EXTENSION]

Actions #1

Updated by Gerrit Code Review 28 days 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/+/86959

Actions #2

Updated by Gerrit Code Review 28 days 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/+/86959

Actions #3

Updated by Gerrit Code Review 27 days 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/+/86959

Actions #4

Updated by Anja Leichsenring 3 days ago

I do not agree with the assumption, that the extension setup command should operate on an empty database. The typo3 setup command takes care of that. So while I would like to see a more helpful error message that advises the user to setup the instance first, I would not expect (or allow) the extension setup command to take that task into its responsibility. It's simply the wrong context.

Actions

Also available in: Atom PDF