[BUGFIX] Re-add 'members' field to the select query in getDefaultWorkspace 51/55251/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 19:18:20 +0000 (20:18 +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/55251
Tested-by: TYPO3com <no-reply@typo3.com>
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 0e34d5d..8271c78 100644 (file)
@@ -2232,7 +2232,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()