-
-
Notifications
You must be signed in to change notification settings - Fork 579
Flash messages cleared when using context.Redirect() and context.Render() #2211
Comments
Just updated from v0.18.2 to Buffalo v0.18.3 and this started to happen to me, even all the tests in my project fails. So this may be an issue related to the last release. |
I had to downgrade buffalo to v0.18.2, as the problem was introduced in v0.18.3 |
Yes. There was a change in the last release that prevented to store the session multiple times. The solution we used there should be the reason the session is not being stored. |
@dmuriel @SenatorSpooky Fix merged into development can you try running your code with the development version of Buffalo and confirm results? Regards! |
Fix confirmed, it seems to be working as expected. Thanks, @paganotoni |
Awesome. Thanks @dmuriel |
This will be released as part of v0.18.4. |
Steps to Reproduce the Problem
This is the code used to reproduce the issue:
Expected Behavior
The above flash message should appear on the page that the user is redirected to.
Actual Behavior
The flash message does not appear on the page due to the following line of code in both context,Redirect() and contact.Render():
Info
The text was updated successfully, but these errors were encountered: