[ https://issues.apache.org/jira/browse/WICKET-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2172. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.4-RC3 Assignee: Juergen Donnerstag In 1.4 using this constructor is actually depreciated * * @deprecated Please use {...@link RequestUtils#decodeParameters(String, ValueMap)} to decode a * request URL, or {...@link ValueMap#ValueMap(String, String)} for other usecases. But the same issue applies to ValueMap. Both have been fixed > PageParameters construced with keyValuePairs does not handle array values > ------------------------------------------------------------------------- > > Key: WICKET-2172 > URL: https://issues.apache.org/jira/browse/WICKET-2172 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.4-RC2 > Reporter: Brad Fritz > Assignee: Juergen Donnerstag > Priority: Minor > Fix For: 1.4-RC3 > > Attachments: PageParameters_String_array.patch > > > The PageParameters constructor that takes a "keyValuePairs" argument does > not convert repeated keys into an array of values. For example: > {code} > // specify three comma delimited values for the "a" parameters > PageParameters parameters = new PageParameters("a=1,a=2,a=3"); > String[] a = parameters.getStringArray("a"); > assertEquals(3, a.length); // fails because a.length == 1 > {code} > Issue first described on the user's list: > http://www.nabble.com/PageParameters-with-String-array-question-to22540294.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.