You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/03/08 17:58:42 UTC
[jira] [Updated] (WW-4240) TypeConversionErrors with Maps
[ https://issues.apache.org/jira/browse/WW-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-4240:
------------------------------
Fix Version/s: (was: 2.3.17)
2.3.x
> TypeConversionErrors with Maps
> ------------------------------
>
> Key: WW-4240
> URL: https://issues.apache.org/jira/browse/WW-4240
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.3.15.1, 2.3.16
> Reporter: Andreas Sachs
> Priority: Minor
> Fix For: 2.3.x
>
>
> Hello,
> i have an action with the following map definition:
> private Map<Integer, Integer> baelle;
> The jsp contains textfields.
> If the user enters a String instead of an Integer, the map contains a String-Element with the value "ognl.NoConversionPossible". The validation method is called.
> If i have an Integer property and the user enters a String, the validation method is not called. Instead the input-page is shown again. I would expect the same behaviour with a map.
> Thanks
> Andreas
--
This message was sent by Atlassian JIRA
(v6.2#6252)