Bug #55936

sessionManager->getActiveSessions() returns empty

Added by Thomas Lorenzen over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Session
Target version:
-
Start date:
2014-02-12
Due date:
% Done:

100%

PHP Version:
5.4
Has patch:
No
Complexity:

Description

I inject the sessionManager and try to get all active sessions but getActiveSessions() always returns empty array.

Have tried in different contexts and yes I DO have active sessions ;)

I'm running Flow 2.0.1

Code:

/**
 * @Flow\Inject
 * @var \TYPO3\Flow\Session\SessionManagerInterface
*/
protected $sessionManager;
$sessions = $this->sessionManager->getActiveSessions();

Associated revisions

Revision 15930467 (diff)
Added by Rafael Kähm about 5 years ago

[BUGFIX] sessionManager->getActiveSessions() returns empty array

This change adds the tag 'session' to all started sessions.
As SessionManager->getActiveSessions() searches sessions by
'session' tag, nothing will ever be returned if the tag is
not set.

Change-Id: Ib92b13bd67dafb4eae04a669befc8da581a405dd
Fixes: #55936
Releases: master, 2.2, 2.1

Revision bc7a07df (diff)
Added by Rafael Kähm about 5 years ago

[BUGFIX] sessionManager->getActiveSessions() returns empty array

This change adds the tag 'session' to all started sessions.
As SessionManager->getActiveSessions() searches sessions by
'session' tag, nothing will ever be returned if the tag is
not set.

Change-Id: Ib92b13bd67dafb4eae04a669befc8da581a405dd
Fixes: #55936
Releases: master, 2.2, 2.1

Revision 3d492d3b (diff)
Added by Rafael Kähm about 5 years ago

[BUGFIX] sessionManager->getActiveSessions() returns empty array

This change adds the tag 'session' to all started sessions.
As SessionManager->getActiveSessions() searches sessions by
'session' tag, nothing will ever be returned if the tag is
not set.

Change-Id: Ib92b13bd67dafb4eae04a669befc8da581a405dd
Fixes: #55936
Releases: master, 2.2, 2.1

History

#1 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#2 Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#3 Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#5 Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#6 Updated by Gerrit Code Review over 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#7 Updated by Gerrit Code Review over 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#8 Updated by Gerrit Code Review over 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#9 Updated by Gerrit Code Review over 5 years ago

Patch set 9 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#10 Updated by Gerrit Code Review over 5 years ago

Patch set 10 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#11 Updated by Gerrit Code Review over 5 years ago

Patch set 11 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#12 Updated by Gerrit Code Review over 5 years ago

Patch set 12 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#13 Updated by Gerrit Code Review over 5 years ago

Patch set 13 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#14 Updated by Gerrit Code Review about 5 years ago

Patch set 14 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#15 Updated by Gerrit Code Review about 5 years ago

Patch set 15 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#16 Updated by Gerrit Code Review about 5 years ago

Patch set 16 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/29130

#17 Updated by Benjamin Albrecht about 5 years ago

Any News? Same Issue here with Flow 2.2.0 :-/

#18 Updated by Gerrit Code Review about 5 years ago

Patch set 17 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/29130

#19 Updated by Rafael Kähm about 5 years ago

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

#20 Updated by Gerrit Code Review about 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.2 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/32391

#21 Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch 2.1 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/32392

#22 Updated by Gerrit Code Review about 5 years ago

Patch set 2 for branch 2.2 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/32391

#23 Updated by Rafael Kähm about 5 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF