|
|
Some plasmature elements (textarea, loki, and loki2) test the input string
and, if it is too long to fit into the database field associated with the
form element, trigger a disco error (thereby preventing the form from being
processed). This functionality is nice, and can prevent unnoticed data
truncation.
However, this is a dumb way of doing it, because this should be a general
feature of (presumably) disco, and not be dependent on whether it happens
to be implemented in the particular plasmature class itself. In addition,
the classes are not using complete field definition lists or more
sophisticated parsing of the field definition, so they wouldn't catch
VARCHAR overflows -- just TEXT/TINYTEXT/MEDIUMTEXT overflows.
|