Bug #64966
closedfe_login Usergroup redirect fails
100%
Description
I have a own sv1 extension where a new User is made over webservice with usergroups. The groups are not saved asc. (eg. 12,11,15,10,13).
If the new user log in he should be redirected to a page which is defined in group.
But in the FrontendLoginController.php (663) there is a DB select where the in statement becomes wrong:
implode(',', $groupData['uid']) ... but this gives ,10,11,12,13,15 so there was an empty array element.
So the code must become:
array_filter($groupData['uid']) and everything is fine.
Updated by Simon Brandstätter almost 10 years ago
Simon Brandstätter wrote:
I have a own sv1 extension where a new User is made over webservice with usergroups. The groups are not saved asc. (eg. 12,11,15,10,13).
If the new user log in he should be redirected to a page which is defined in group.
But in the FrontendLoginController.php (line 663 Typo3 6.2.9) there is a DB select where the in statement becomes wrong:
implode(',', $groupData['uid']) ... but this gives ,10,11,12,13,15 so there was an empty array element.
So the code must become:
implode(',', array_filter($groupData['uid'])) and everything is fine.
Updated by Gerrit Code Review over 9 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 http://review.typo3.org/39447
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39447
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39447
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39447
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Gerrit Code Review about 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/39447
Updated by Frederic Gaus about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f0b9136e41f8b3a777adfad2c5b58d92b1361f65.
Updated by Gerrit Code Review about 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45131
Updated by Frederic Gaus about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 72ebfbfa1bbe4b77f7c7b7fc87c40d714f4ad24f.