Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2003 at 12:08 UTC
Updated:
6 Mar 2004 at 16:20 UTC
it has been noted before [1] that there are inconsistencies in some form_textfield()s $maxlength's values. for example, to quote that link, the title field of nodes is defined of length 128 in the database - the submit form, however, restricts it to max 64 chars. there are (probably quite some) more examples for this (bundle.title, etc).
it makes no sense to define a db field to have a certain length and then not allow that length to be entered. maxlength should always match the db length value.
[1] Why is node title restricted to 64 while the db field is 128 cha
| http://drupal.org/node/view/619
Comments
Comment #1
Kjartan commentedComment #2
(not verified) commented