You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2007/08/18 19:56:30 UTC

[jira] Closed: (WICKET-511) New ServletWebRequest.getParameterMap() implementation changed between 1.2.5 and 1.2.6

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

Martijn Dashorst closed WICKET-511.
-----------------------------------

    Resolution: Won't Fix

We're sorry that this API break came through, but we will not revert it.  Currently 1.2.6 is the most widely used Wicket version at this moment, reverting will cause pain to all 1.2.6 upgraders. Furthermore, 1.3 and onward will have this API anyways. 

Upgraders from 1.2.x releases should re-test/recompile their applications to ensure they will not run into this break at runtime.

> New ServletWebRequest.getParameterMap() implementation changed between 1.2.5 and 1.2.6
> --------------------------------------------------------------------------------------
>
>                 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š
>            Assignee: Martijn Dashorst
>            Priority: Trivial
>             Fix For: 1.2.7
>
>
> 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.