Replies: 3 comments
-
Can you please share a repo with the required code to help us reproduce the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @PCC94 , have you figured this out? I just had this, but I couldn't solve it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Most likely, because max cookie size is 4096bytes, which includes all cookie settings for all cookies combined: https://chromestatus.com/feature/4946713618939904 It's a browser implementation thing, can't do anything about it :| |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have an issue with flashMessages when a form validation fails, in particular when more than one rules are triggered .
In this project I have many forms, and some of them have many input with validation rules associated. If I submit the form with only one "invalid" input, validation rules are correctly triggered and flashMessages.all() returns the error message and all the values i inserted in the form.
flashMessages.all() output :
But, if i try to trigger more than one validation error, for example:
Validation errors are correctly triggered once more. If i log
error.messages
i have:... but everytime I inspect
flashMessages.all()
in view, it returnnull
. :(To resolve the problem, i tried with a custom ExceptionHandler, but the results are the same:
It seems ctx.session.flash() is not working, but why?
p.s. The session drive is 'cookie' and it appears to work if you use session drive 'file', but i'd prefer to know how to make it work with the cookie session drive. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions