You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/07/13 15:19:31 UTC

[jira] Closed: (WICKET-1256) Wickettester does not work with custom Sessions that are not WebSessions

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

Timo Rantalaiho closed WICKET-1256.
-----------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.4-M4)

Hmm... but currently it says

java.lang.ClassCastException: com.mycompany.CustomSession cannot be cast to org.apache.wicket.protocol.http.WebSession

so the obvious fix is to make CustomSession extend WebSession, right?

So I think that the message is good enough as it is, I'm closing for now. Please reopen or send mail to the list if you have more arguments ;)

> Wickettester does not work with custom Sessions that are not WebSessions
> ------------------------------------------------------------------------
>
>                 Key: WICKET-1256
>                 URL: https://issues.apache.org/jira/browse/WICKET-1256
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.0-final
>         Environment: mac osx 10.4
>            Reporter: Nino Martinez
>            Assignee: Timo Rantalaiho
>            Priority: Minor
>         Attachments: showSessionNotCustom.zip, wicketTesterWebsessionToSession.patch
>
>
> if you specify a wicket application in wicket tester's constructor, wicket tester does not create sessions of the type specified in specified web application. Just run TestHomePage.java it fails, but when running the application(via start.java) for real it works as it should?

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