Bug #64966
closed
fe_login Usergroup redirect fails
Added by Simon Brandstätter about 10 years ago.
Updated over 6 years ago.
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.
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.
- 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
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
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
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
- Target version deleted (
next-patchlevel)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF