You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/13 17:37:41 UTC

DO NOT REPLY [Bug 17031] - Validation of required html:file elments passes when no file selected in form

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17031

Validation of required html:file elments passes when no file selected in form





------- Additional Comments From mohankishore@yahoo.com  2003-02-13 16:37 -------
The 'file' type is missing from the validator-rules.xml. Appended the patch 
diff:


cvs diff validator-rules.xml (in directory D:\CvsRoot\jakarta-
struts\conf\share\)
Index: validator-rules.xml
===================================================================
RCS file: /home/cvspublic/jakarta-struts/conf/share/validator-rules.xml,v
retrieving revision 1.23
diff -r1.23 validator-rules.xml
69a70
>                         field.type == 'file' ||

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org