struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Hermanns (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2564) Type Conversion of List<Integer> not working when list is empty.
Date Sat, 14 Jun 2008 13:13:06 GMT

     [ https://issues.apache.org/struts/browse/WW-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rainer Hermanns resolved WW-2564.
---------------------------------

    Resolution: Fixed
      Assignee: Rainer Hermanns

This issue seems to be resolved by Don's patch in rev655721.
Please verify with latest s2.1 from trunk.

> Type Conversion of List<Integer> not working when list is empty.
> ----------------------------------------------------------------
>
>                 Key: WW-2564
>                 URL: https://issues.apache.org/struts/browse/WW-2564
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.11.1
>         Environment: Windows XP
>            Reporter: Ivan Rei
>            Assignee: Rainer Hermanns
>             Fix For: 2.1.3
>
>
> When using a object of type List<Integer>, and that object comes empty from the
JSP, you get a conversion error. Eg. Have 2 lists of checkboxes on the JSP. One is a List<String>
and the other is List<Integer>, if I don't select any of the checkboxes of either type,
I get a validation error (xwork.default.invalid.fieldvalue) on the integer list only. If I
remove the integer list from the JSP, I get to the action.

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


Mime
View raw message