You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/05/03 00:24:15 UTC

[jira] Assigned: (WICKET-524) ClassCastException in WebRequestCodingStrategy

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

Igor Vaynberg reassigned WICKET-524:
------------------------------------

    Assignee: Eelco Hillenius

> ClassCastException in WebRequestCodingStrategy
> ----------------------------------------------
>
>                 Key: WICKET-524
>                 URL: https://issues.apache.org/jira/browse/WICKET-524
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6
>            Reporter: Andrew Berman
>         Assigned To: Eelco Hillenius
>            Priority: Blocker
>
> I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of WebRequestCodingStrategy.  When it calls request.getParameter(BEHAVIOR_ID_PARAMETER_NAME) it is expecting a String, but it is returning a String array so I get a classcastexception.  I am using CryptedUrlWebRequestCodingStrategy to build the URLs.  The actual bug appears to be in the WebRequest because it casts to a String which is incorrect, since the actual parameter is a String array.

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


Re: [jira] Assigned: (WICKET-524) ClassCastException in WebRequestCodingStrategy

Posted by Eelco Hillenius <ee...@gmail.com>.
What really sucks about this whole thing is that there is no unit test
for it and neither is there an example application for it - except for
signin 2, which I remember running before committing the commit (and
yes, it worked/ works). How the f am I supposed to find out I broke
something?

Eelco


On 5/3/07, Igor Vaynberg (JIRA) <ji...@apache.org> wrote:
>
>      [ https://issues.apache.org/jira/browse/WICKET-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Igor Vaynberg reassigned WICKET-524:
> ------------------------------------
>
>     Assignee: Eelco Hillenius
>
> > ClassCastException in WebRequestCodingStrategy
> > ----------------------------------------------
> >
> >                 Key: WICKET-524
> >                 URL: https://issues.apache.org/jira/browse/WICKET-524
> >             Project: Wicket
> >          Issue Type: Bug
> >          Components: wicket
> >    Affects Versions: 1.2.6
> >            Reporter: Andrew Berman
> >         Assigned To: Eelco Hillenius
> >            Priority: Blocker
> >
> > I upgraded to 1.2.6 and am getting a ClassCastException on line 161 of WebRequestCodingStrategy.  When it calls request.getParameter(BEHAVIOR_ID_PARAMETER_NAME) it is expecting a String, but it is returning a String array so I get a classcastexception.  I am using CryptedUrlWebRequestCodingStrategy to build the URLs.  The actual bug appears to be in the WebRequest because it casts to a String which is incorrect, since the actual parameter is a String array.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>