[ http://issues.apache.org/struts/browse/STR-726?page=all ]
Don Brown reopened STR-726:
---------------------------
Assign To: (was: Struts Developer Mailing List)
> PATCH: ValidatorUtils can't handle StringArrays
> -----------------------------------------------
>
> Key: STR-726
> URL: http://issues.apache.org/struts/browse/STR-726
> Project: Struts Action 1
> Type: Bug
> Components: Action
> Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: James Turner
> Fix For: 1.1 Family
> Attachments: ValidatorUtil.java.diff
>
> ValidatorUtils currently uses the property handed in from the field to
> retrieve the value to validate. Alas, it doesn't work for an indexed string
> value as generated by Validator. Luckily, validator hands the value in as a
> String on the bean property for indexed strings, so there's no need to look
> it
> up anyway. Added test to see if the bean argument is a string or null (it's
> the form object if the call was made from a non-indexed value), and use the
> null or string value instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]