[BUGFIX] Re-add 'members' field to the select query in getDefaultWorkspace 09/55309/4
authorDima Nozdrin <mail@nozdrin.net>
Wed, 3 Jan 2018 14:46:50 +0000 (16:46 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 9 Jan 2018 18:41:02 +0000 (19:41 +0100)
The field was forgotten during Doctrine migration.
See https://review.typo3.org/#/c/47576/

Resolves: #80901
Releases: master, 8.7
Change-Id: I9081d17e18107ec69c8530da2d66f51f65deef4c
Reviewed-on: https://review.typo3.org/55309
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php

index 28102b7..4b183f2 100644 (file)
@@ -2260,7 +2260,7 @@ class BackendUserAuthentication extends AbstractUserAuthentication
             // Traverse custom workspaces:
             $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('sys_workspace');
             $queryBuilder->getRestrictions()->add(GeneralUtility::makeInstance(RootLevelRestriction::class));
-            $workspaces = $queryBuilder->select('uid', 'title', 'adminusers', 'reviewers')
+            $workspaces = $queryBuilder->select('uid', 'title', 'adminusers', 'members', 'reviewers')
                 ->from('sys_workspace')
                 ->orderBy('title')
                 ->execute()