Project

General

Profile

Actions

Bug #67007

closed

storeSessionData not working correctly if sesssion was saved empty before

Added by Johann Carstens over 9 years ago. Updated about 7 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 #1

Updated by Markus Klein over 9 years ago

  • Category set to Frontend
  • Status changed from New to Accepted
  • Target version set to 6.2.13
  • Complexity set to easy
  • Sprint Focus set to Stabilization Sprint

Thanks for the report. Looks very reasonable.

Actions #2

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted 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/39597

Actions #3

Updated by Markus Klein over 9 years ago

  • Status changed from Under Review to Accepted

Please review the patch and vote on Gerrit, if it works for you. Thanks.

Actions #4

Updated by Markus Klein over 9 years ago

  • Assignee set to Markus Klein
Actions #5

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted 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 http://review.typo3.org/39599

Actions #6

Updated by Markus Klein over 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF