Project

General

Profile

Actions

Bug #67007

closed

storeSessionData not working correctly if sesssion was saved empty before

Added by Johann Carstens almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
Start date:
2015-05-18
Due date:
% Done:

100%

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

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.

Actions

Also available in: Atom PDF