You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jan Bareš (JIRA)" <ji...@apache.org> on 2007/04/27 16:00:22 UTC

[jira] Updated: (WICKET-511) New ServletWebRequest.getParameterMap() implementation is broken

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

Jan Bareš updated WICKET-511:
-----------------------------

    Priority: Trivial  (was: Critical)

Aha, I should call PageParameters.getString() instead of get(). So maybe this is intended behaviour. Please clarify and close.

> New ServletWebRequest.getParameterMap() implementation is broken
> ----------------------------------------------------------------
>
>                 Key: WICKET-511
>                 URL: https://issues.apache.org/jira/browse/WICKET-511
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6
>            Reporter: Jan Bareš
>            Priority: Trivial
>
> The implementation of ServletWebRequest.getParameterMap() changed between 1.2.5 and 1.2.6. Now it simply calls:
> return new HashMap(httpServletRequest.getParameterMap());
> According to Servlet specification, ServletRequest.getParameterMap() returns map of <String, String[]>. Please note that the value is *array* of Strings. The new implementation of ServletWebRequest.getParameterMap() is now broken, because in 1.2.5 it returned "Map<String, String>".

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