Project

General

Profile

Actions

Bug #75220

closed

Wrong FE User datas

Added by Antoine Bouet over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Frontend
Target version:
-
Start date:
2016-03-22
Due date:
% Done:

0%

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

Description

Hi :)

I have a strange behaviour with FE Users.
When I log with the last created FE User, the prefilled personal datas of my user forms are the one of another FE User.

Here is my code :

$user = $GLOBALS['TSFE']->fe_user->user;
if ($user) {
  $this->frontendUser = $this->frontendUserRepository->findByUid($user['uid']);
}

$this->view->assignMultiple(
    array(        
        'feUser' => $this->frontendUser
    )
);

If I change the usergroup to another FE Group, the datas are ok.
Then if I change the usergroup to the original FE Group, the datas are wrong.

When I try to display a debug of $this->frontendUser, all is fine, there is no problem anymore ...

Tested in several browser and private modes.

Any ideas ?

Actions

Also available in: Atom PDF