Skip to content
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

Avoid restoring of flash and session multiple times per request #1181

Merged
merged 5 commits into from
Apr 21, 2020

Conversation

cbxp
Copy link
Contributor

@cbxp cbxp commented Aug 25, 2017

This fixes a regression introduced somewhere in Play 1.3

Session and flash will be restored only once per request (it is at least 3 times currently)
Depends on PR #1180, should be merged after it

@asolntsev
Copy link
Contributor

@xael-fry It seems to be a good PR. Recommended to merge.

@asolntsev asolntsev self-assigned this Aug 29, 2017
@asolntsev asolntsev added this to the 1.5.0 milestone Aug 29, 2017
framework/src/play/mvc/Router.java Outdated Show resolved Hide resolved
@xael-fry xael-fry removed this from the 1.5.0 milestone Sep 28, 2017
@xael-fry xael-fry merged commit 8a423b0 into playframework:master Apr 21, 2020
@xael-fry xael-fry added this to the 1.5.4 milestone Apr 21, 2020
@xael-fry
Copy link
Member

Merged and pushed in master
Thanks @cbxp @asolntsev

@JohannesBeranek
Copy link

Looking at changed files this doesn't look like it does anything other than adding an unused import? Maybe you forgot to merge something or something dropped along the line? Or does github maybe just not show it?

@asolntsev
Copy link
Contributor

Yes, the diff looks strange.
Probably here lies the explanation:

Depends on PR #1180, should be merged after it

@asolntsev asolntsev deleted the multiple-session-restore branch March 15, 2021 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants