#104434Install Tool fails "Create default backend user groups" in last step if EXT:dashboard is not installed
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
Reviews 1
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 85300 status
NewUnder Review 07/19/24, 10:32 -
Gerrit Code Review pushed patch set 2 for main to change 85300 07/19/24, 11:53
-
Gerrit Code Review pushed patch set 3 for main to change 85300 07/19/24, 11:53
-
Stephan Großberndt commented and changed status
Under ReviewResolved done0 %100 % 07/19/24, 12:15 -
Benni Mack changed status
ResolvedClosed 10/15/24, 09:13
Applied in changeset commit:86a364f952af034bb05a550a93a3de6892b524fc.