Bug #55936
sessionManager->getActiveSessions() returns empty
Status: | Resolved | Start date: | 2014-02-12 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | Session | |||
Target version: | - | |||
PHP Version: | 5.4 | Complexity: | ||
Has patch: | No | Affected Flow version: | Flow 2.0.0 |
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
[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
[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
[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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago
Any News? Same Issue here with Flow 2.2.0 :-/
#18 Updated by Gerrit Code Review 11 months 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 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 159304670b808f3a22f16b3ac1ca55810e04f148.
#20 Updated by Gerrit Code Review 11 months 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 11 months 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 11 months 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 11 months ago
- Status changed from Under Review to Resolved
Applied in changeset bc7a07df317b534fb6b458791ae9b1beb3d54660.