Skip to content

Commit

Permalink
Merge branch '9.0' into feature/3732-cr-privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Oct 22, 2024
2 parents 4d628a4 + 92d2705 commit bbf5366
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,9 @@ public function indexAction(string $node = null)
$this->redirectToUri($this->uriBuilder->uriFor('index', [], 'Login', 'Neos.Neos'));
}

try {
$workspace = $this->workspaceService->getPersonalWorkspaceForUser($siteDetectionResult->contentRepositoryId, $user->getId());
} catch (WorkspaceDoesNotExist) {
// todo will cause infinite loop: https://github.com/neos/neos-development-collection/issues/4401
$this->redirectToUri($this->uriBuilder->uriFor('index', [], 'Login', 'Neos.Neos'));
}
$this->workspaceService->createPersonalWorkspaceForUserIfMissing($siteDetectionResult->contentRepositoryId, $user);
$workspace = $this->workspaceService->getPersonalWorkspaceForUser($siteDetectionResult->contentRepositoryId, $user->getId());

$contentGraph = $contentRepository->getContentGraph($workspace->workspaceName);

$rootDimensionSpacePoints = $contentRepository->getVariationGraph()->getRootGeneralizations();
Expand Down

0 comments on commit bbf5366

Please sign in to comment.