You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/03/07 05:27:07 UTC

[jira] Commented: (STR-3136) when an actionform creates an integer field, do a trim() or at least utter an error message

    [ https://issues.apache.org/struts/browse/STR-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43469#action_43469 ] 

Paul Benedict commented on STR-3136:
------------------------------------

I don't understand. Can you explain again?

> when an actionform creates an integer field, do a trim() or at least utter an error message
> -------------------------------------------------------------------------------------------
>
>                 Key: STR-3136
>                 URL: https://issues.apache.org/struts/browse/STR-3136
>             Project: Struts 1
>          Issue Type: Improvement
>    Affects Versions: 1.3.9
>            Reporter: Ralf Hauser
>
> currently, when I enter in an integer form field e.g. "12 ", the form arrives in my struts Action with the default value (0 or -1)
> if there were a trim() during the conversion, lots of user input errors could be avoided without risking to err ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.