-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yii 2.0.17 + Yiii2-mongodb ~2.1.0 Flash message does no work #17559
Comments
The problem is here in latest framework version. It works well with 2.0.15.1. |
I've translated issue into English so community can participate as a whole. If the version of MongoDB was not changed, then it seems the problem is somewhere in the framework. Since you have a clear way to reproduce it please do bisect to find out exact commit that broke it. Here's how: https://git-scm.com/docs/git-bisect or in Russian: https://git-scm.com/book/ru/v1/Инструменты-Git-Отладка-с-помощью-Git |
This problem after commit: Class yii\mongodb\Session extends MultiFieldSession Function MultiFieldSession::composeFields was changed. |
@webspec2012 can you check if it's 8bb334b#r33018458? |
The session ID changes from one page to another. ..
refresh site page by F5
refresh site page by F5
refresh site page by F5
... |
Does PHP write it into MongoDB at all? |
@lubosdz any idea on why would it break? |
my 2 cents, this looks sketchy - I would start investigating that: yii2/framework/web/DbSession.php Line 194 in 8bb334b
|
@ailmanki thanks, that would be awesome. |
Mongodb Session class not extends DbSession. |
So is the issue solved ? I reckon yii2-mongo Unfortunatelly I dont have mongo setup .. Edit: |
No. |
Related to yiisoft/yii2#17559 and yiisoft/yii2#17188.
@webspec2012 can you test with |
The `dev-master ' branch works correctly! |
If using MongoDB as session storage, Flash messages do not work.
Message is list after redirect. It works if I stop storing sessions in MongoDB.
The text was updated successfully, but these errors were encountered: