Open GoogleCodeExporter opened 8 years ago
Addendum - forum thread for background:
http://forum.textpattern.com/viewtopic.php?id=40006
Original comment by gaek...@gmail.com
on 23 Aug 2013 at 7:12
Form partials are presentational content. They contain template strings, but
never content. These template strings should not be going over 64k characters.
If they do, your template parser isn't enjoying itself, especially if the form
partial is used in a loop (as a template for list items).
That said, normally MySQL should truncate any data that is too large for the
field. The error should be because you are running MySQL in strict mode; strict
mode, as the name states, is strict. In MySQL that means it stops the procedure
on any 'issue' (where issue is anything where data would be subject to
alterations) and signals about error.
The followed 'get_off_my_lawn' CSRF error is because the way 4.5.4 handles
admin-side errors. It basically invokes the message even when it shouldn't. If
I remember correctly, there too are process kill statements in one the error
handlers - something you will not want; killing process can lead to actual real
failures; any unfinished writes will not be written etc.
Maybe someday we will have field mappings, validation and exceptions (instead
of absurd global error chains) so that this doesn't happen.
Original comment by jukka.m.svahn
on 23 Aug 2013 at 1:36
Thanks, Jukka. Is it relevant that the form was default (article) and not used
in loop? Is that considered to be a partial?
Original comment by gaek...@gmail.com
on 23 Aug 2013 at 1:46
Original issue reported on code.google.com by
gaek...@gmail.com
on 23 Aug 2013 at 7:11