-
Notifications
You must be signed in to change notification settings - Fork 33
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
Flash messages are not deleted after read #265
Comments
vcraescu
changed the title
Flash message are not deleted
Flash messages are not deleted after read
Feb 4, 2020
Line 314 in 3374b69
Apparently the session is saved before template is actually rendered. That's why the flash message is retained. |
Managed to mitigate this issue using a PostReply subscriber:
|
@vcraescu Thanks for reporting an issue. I will have a look and address the issue. |
thanks! |
@jeevatkm any news? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of aah are you using (
aah --version
)?aah v0.12.2
cli v0.13.4
go v1.13.7
Does this issue reproduce with the latest release?
Yes.
What operating system are you using (such as macOS, Linux and Windows)?
macOS, Linux
What did you do?
In controller:
In view:
What did you expect to see?
I expect to get the flash message only once but when I refresh the page the flash message is still present in the session.
What did you see instead?
The flash message should be removed from the session if it is read once. It is removed from memory but it is not removed from file session.
The text was updated successfully, but these errors were encountered: