struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r436872 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java
Date Fri, 25 Aug 2006 17:38:06 GMT
Author: niallp
Date: Fri Aug 25 10:38:06 2006
New Revision: 436872

URL: http://svn.apache.org/viewvc?rev=436872&view=rev
Log:
Fix for STR-2936 - Incorrect validator name floatRange used in maxlength error - thanks for
the patch from Scott Van Wart

Modified:
    struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java

Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java?rev=436872&r1=436871&r2=436872&view=diff
==============================================================================
--- struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java (original)
+++ struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/FieldChecks.java Fri
Aug 25 10:38:06 2006
@@ -1120,7 +1120,7 @@
                     return false;
                 }
             } catch (Exception e) {
-                processFailure(errors, field, "floatRange", e);
+                processFailure(errors, field, "maxlength", e);
 
                 return false;
             }



Mime
View raw message