Bug #45708

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

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

Status:Closed Start date:2013-02-21
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.5 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:

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

related to Core - Bug #34964: FE Session record is never removed, even if no session da... Resolved 2012-03-17

History

#1 Updated by Christian Wolff over 2 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

#3 Updated by Stefan Galinski over 2 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. :-)

#4 Updated by Christian Wolff over 2 years ago

my Bug was was fixed in 4.5.24

#5 Updated by Stefan Galinski over 2 years ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF