Issue Bug Closed

#67007storeSessionData not working correctly if sesssion was saved empty before

Johann Carstens 05/18/15, 11:55 updated 10/23/17, 21:48

Description

Hi,

i think i found a bug in 6.2.12. Maybe it is already fixed in newer versions but i did not check.

In file /typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
line 465 is missing a reset of the timestamp
$this->sessionDataTimestamp = null;

I had the problem that in an action a variable got deleted from the session and later i added a flashmessage.
The flashmessage never showed up because in the storeSessionData() function sessionDataTimestamp is not null so it tries to update a db row instead of insert.

Reviews 2