summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-13 00:20:50 +0100
committerlpsolit%gmail.com <>2008-01-13 00:20:50 +0100
commit0e2ea68e886628033f9afeba99f90144b4f85510 (patch)
treebdb26475965046e8680130ad0daf42d1d315416a /Bugzilla/WebService
parenta404e6c3e3d777f09ef2ab8100ad01a20a3c885c (diff)
downloadbugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.gz
bugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.xz
Bug 411437: Clipping of "Free Text" fields when user enters more then 255 characters - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService')
-rwxr-xr-xBugzilla/WebService/Bug.pm4
-rwxr-xr-xBugzilla/WebService/Constants.pm1
2 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 7148b78cb..c4361e679 100755
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -473,8 +473,8 @@ for more details.
=item 104 (Invalid Field)
-One of the drop-down fields has an invalid value. The error message will
-have more detail.
+One of the drop-down fields has an invalid value, or a value entered in a
+text field is too long. The error message will have more detail.
=item 105 (Invalid Component)
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index a1ecb53ed..d641b6e70 100755
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -65,6 +65,7 @@ use constant WS_ERROR_CODE => {
alias_has_comma_or_space => 103,
# Misc. bug field errors
illegal_field => 104,
+ freetext_too_long => 104,
# Component errors
require_component => 105,
component_name_too_long => 105,