diff options
author | mkanat%bugzilla.org <> | 2008-10-03 08:28:31 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-10-03 08:28:31 +0200 |
commit | 931bd3b651ccca832a618f7b28bbc35e503665d4 (patch) | |
tree | 44518a36cc628b44c329319501fcb8e402c72d97 /Bugzilla/Constants.pm | |
parent | 7bfd680d6fb32886fcbad107ffed75974ff7009f (diff) | |
download | bugzilla-931bd3b651ccca832a618f7b28bbc35e503665d4.tar.gz bugzilla-931bd3b651ccca832a618f7b28bbc35e503665d4.tar.xz |
Bug 455632: Add Bugzilla::Field::Choice->create and have editvalues.cgi use it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index abe1fe248..601ea52b2 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -151,6 +151,7 @@ use File::Basename; MAX_PRODUCT_SIZE MAX_MILESTONE_SIZE MAX_COMPONENT_SIZE + MAX_FIELD_VALUE_SIZE MAX_FREETEXT_LENGTH ); @@ -427,6 +428,9 @@ use constant MAX_MILESTONE_SIZE => 20; # The longest component name allowed. use constant MAX_COMPONENT_SIZE => 64; +# The maximum length for values of <select> fields. +use constant MAX_FIELD_VALUE_SIZE => 64; + # Maximum length allowed for free text fields. use constant MAX_FREETEXT_LENGTH => 255; |