Project

General

Profile

Actions

Bug #45708

closed

feuserauth storeSessionData fails to save Data to DB in "ses"-mode

Added by Martin Neumann over 11 years ago. Updated over 11 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you want to save a users session in an eID script you would call
tslib_feUserAuth::storeSessionData()

to save the data to the session table.

From v4.5.22 to 4.5.23 there appears a new condition in this method:
} elseif ($this->sessionDataTimestamp === NULL) {

but $this->sessionDataTimestamp is defind this way:
protected $sessionDataTimestamp;
and will never be filled (therefore will never be NULL)

And for the "elseif" there is NO "else"-branch. So no error-handling at all, just not working.

Note: in 4.7 there IS a "else"-branch (but have not tested 4.7)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #34964: FE Session record is never removed, even if no session data leftClosed2012-03-17

Actions
Actions #1

Updated by Christian Wolff over 11 years ago

I have an Related Issue. if a tslib_feutherauth->fetchSession() is called before the sessionDataTimestamp is also not NULL and therefor no session data is stored

Actions #3

Updated by Stefan Galinski over 11 years ago

  • Status changed from New to Needs Feedback

This isn't valid anymore, right?

@Christian: If you think that you found a new bug, please open a new issues. :-)

Actions #4

Updated by Christian Wolff over 11 years ago

my Bug was was fixed in 4.5.24

Actions #5

Updated by Stefan Galinski over 11 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF