Attached diff -u for patch fix for BUG 12905:
---------------------------------------------
When running logon.jsp -
The error message created for the maxlength check
says "Username cannot be greater than null characters".
Need to fix array index in ApplicationResources.properties
from:
> errors.maxlength={0} cannot be greater than {1} characters.
to:
> errors.maxlength={0} cannot be greater than {2} characters.
This then matches the array definition in validation.xml
(NOTE: This is a FIXME comment on
ApplicationResources.properties v1.7 from craigmcc)
I'll send the fix via the Struts Developer List
---------------------------------------------
Index: ApplicationResources.properties
===================================================================
RCS file:
/home/cvspublic/jakarta-struts/src/example/org/apache/struts/webapp/example/ApplicationResources.properties,v
retrieving revision 1.8
diff -u -r1.8 ApplicationResources.properties
--- ApplicationResources.properties 21 Jul 2002 18:45:00 -0000 1.8
+++ ApplicationResources.properties 22 Sep 2002 20:56:06 -0000
@@ -72,7 +72,7 @@
# Standard error messages for validator framework checks
errors.required={0} is required.
errors.minlength={0} cannot be less than {1} characters.
-errors.maxlength={0} cannot be greater than {1} characters.
+errors.maxlength={0} cannot be greater than {2} characters.
errors.invalid={0} is invalid.
errors.byte={0} must be an byte.
errors.short={0} must be an short.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>