Project

General

Profile

Actions

Bug #95336

closed

Logging in a newly created user errors with "No such workspace defined"

Added by Jonas Eberle about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2021-09-23
Due date:
% Done:

100%

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

Description

The instance did have EXT:workspaces installed but no workspace created yet.

After adding a new user (just username + password filled out) the error occured when that user tried to log in.

Backtrace

InvalidArgumentException in /var/www/html/typo3/sysext/workspaces/Classes/Service/WorkspaceService.php line 137

at TYPO3\CMS\Workspaces\Service\WorkspaceService::getWorkspaceTitle(-99)
in /var/www/html/typo3/sysext/workspaces/Classes/Backend/ToolbarItems/WorkspaceSelectorToolbarItem.php line 46

at TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem->__construct()
in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3271

at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Workspaces\\Backend\\ToolbarItems\\WorkspaceSelectorToolbarItem')
in /var/www/html/typo3/sysext/backend/Classes/Controller/BackendController.php line 157

Actions #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71627

Actions #2

Updated by Oliver Bartsch about 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF