Ticket #2299 (closed defect: fixed)
flash() doesn't display anything when message is too long
| Reported by: | pitrou | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1b2 |
| Component: | webflash | Version: | 2.0b7 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
flash() doesn't display messages longer than 2500-3000 chars and doesn't raise an error either. It's probably due to some internal limitation somewhere (cookie size?) but it shouldn't fail silently to do its job. Whether it should raise an error or simply truncate the message, I have no opinion about :-)
(this is with 2.0b7)
Change History
Note: See
TracTickets for help on using
tickets.
The session is indeed stored by the cookie so there is a hardcoded top of 4KB, this is a bug in webflash as it should error if the string is this bug.