fixed it so that we always show a page expired page when a page or version can't be found.

On 1/24/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
why not the same page expired page? i think not having a version can only happen because of that?

-Igor



On 1/23/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
You have then already a session again.
With somehow that page already again.
but it hasn't have that version yet.

What do you expect to get?

johan




On 1/23/06, Robert McClay <[EMAIL PROTECTED]> wrote:
In Wicket 1.1 if the session expires and you click on a versioned page,
the first time it will take you to the Page Expired page. If you then
hit back and click the link again, it'll throw an exception. Is that a
bug?

java.lang.IllegalStateException: No version manager available to
retrieve requested versionNumber 2
    at
wicket.Page.getVersion(Page.java:387)
    at
wicket.Session.getPage(Session.java:271)
    at
wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:425)

   at
wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:140)

   at wicket.RequestCycle.request(RequestCycle.java :418)
    at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:197)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
    at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)

   at
com.bci.car.servlets.gzip.GzipFilter.doFilter(GzipFilter.java:127)

at
com.caucho.server.http.FilterChainFilter.doFilter (FilterChainFilter.java:88)

   at com.caucho.server.http.Invocation.service(Invocation.java:315)

at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)

   at
com.caucho.server.http.HttpRequest.handleRequest (HttpRequest.java:253)

   at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)

   at com.caucho.server.TcpConnection.run(TcpConnection.java:139)

at java.lang.Thread.run(Thread.java:613)




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



Reply via email to