Project

General

Profile

Actions

Bug #104434

closed

Install Tool fails "Create default backend user groups" in last step if EXT:dashboard is not installed

Added by Stephan Großberndt 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
Start date:
2024-07-19
Due date:
% Done:

100%

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

Description

Install a TYPO3 v13.3 instance via composer without EXT:dashboard.
On completing setup there is an option to "Create default backend user groups".

When this is checked, the install.php fails silently with the log entry

Core: Exception handler (WEB: BE): Doctrine\DBAL\Exception\InvalidFieldNameException, code #7, file /vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php, line 68: An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR:  column "availableWidgets" of relation "be_groups" does not exist

This is due to

        if (isset($permissionPreset['availableWidgets']) && is_array($permissionPreset['availableWidgets'])) {
            $mappedPermissions['availableWidgets'] = implode(',', $permissionPreset['availableWidgets']);
        }

in SetupService.php#L301 as there is no availableWidgets column, which is only created if the dashboard extension is installed in sysext/dashboard/Configuration/TCA/Overrides/be_groups.php#L6

Actions #1

Updated by Gerrit Code Review 4 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/+/85300

Actions #2

Updated by Gerrit Code Review 4 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/+/85300

Actions #3

Updated by Gerrit Code Review 4 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/+/85300

Actions #4

Updated by Stephan Großberndt 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF