You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/11/08 11:16:58 UTC

[jira] [Resolved] (WICKET-6272) StalePageException after "view-source" in browser

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

Martin Grigorov resolved WICKET-6272.
-------------------------------------
    Resolution: Not A Problem

As StalePageException's javadoc says this exception is being thrown when you try to use a page instance that has been re-rendered in the meantime.

Rendering the page in view-source:// is not special - the browser makes a request to the server and shows the body, without interpreting the HTML.

> StalePageException after "view-source" in browser
> -------------------------------------------------
>
>                 Key: WICKET-6272
>                 URL: https://issues.apache.org/jira/browse/WICKET-6272
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.5.0
>         Environment: <wicket.version>7.5.0</wicket.version>
> <wicketstuff.version>7.5.0</wicketstuff.version>
> <wicket-atmosphere.version>0.28</wicket-atmosphere.version>
> Chrome:
> Version 54.0.2840.90 (64-bit)
>            Reporter: Rudi Wijaya
>
> 1. I have loaded a page.
> 2. And then I {{open source}} (view source) in browser - chrome (ctrl+u), and
> 3. I came back to previous tab that showed the page and 
> 4. I clicked a LaddaAjaxButton and got the error
> {code}
> org.apache.wicket.core.request.mapper.StalePageException: A request to page '[Page class = id.co.bippo.cart.web.pub.ProductCartViewPage, id = 5, render count = 2]' has been made with stale 'renderCount'. The page will be re-rendered.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)