Project

General

Profile

Actions

Bug #64966

closed

fe_login Usergroup redirect fails

Added by Simon Brandstätter about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-02-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Simon Brandstätter about 9 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.

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Gerrit Code Review over 8 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

Actions #4

Updated by Gerrit Code Review over 8 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

Actions #5

Updated by Gerrit Code Review over 8 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

Actions #6

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (next-patchlevel)
Actions #7

Updated by Gerrit Code Review over 8 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

Actions #8

Updated by Frederic Gaus over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Gerrit Code Review over 8 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

Actions #10

Updated by Frederic Gaus over 8 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF