You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michal Kurtak (JIRA)" <ji...@apache.org> on 2010/12/12 16:23:01 UTC
[jira] Created: (WICKET-3252) StalePageException on non-versioned
Page in Ajax request does not render ajax-response
StalePageException on non-versioned Page in Ajax request does not render ajax-response
--------------------------------------------------------------------------------------
Key: WICKET-3252
URL: https://issues.apache.org/jira/browse/WICKET-3252
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5-M3
Reporter: Michal Kurtak
If StalePageException occurs in Ajax request on non-versioned page, response contains rendered page but no <ajax-response> element.. Response should contain ajax redirect to stale page.
How to reproduce this behavior in attached quickstart project (HomePage in quickstart contains two links (one that opens popup window and the other performs ajax request):
1. Click on the popup link. New window is opened.
2. In the originating window, click Ajax Link.
3. In popup window click Ajax Link and error occurs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3252) StalePageException on non-versioned
Page in Ajax request does not render ajax-response
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-3252:
------------------------------------
Attachment: WICKET-3252.patch
Possible fix
> StalePageException on non-versioned Page in Ajax request does not render ajax-response
> --------------------------------------------------------------------------------------
>
> Key: WICKET-3252
> URL: https://issues.apache.org/jira/browse/WICKET-3252
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Michal Kurtak
> Attachments: stalepageexception-quickstart.zip, WICKET-3252.patch
>
>
> If StalePageException occurs in Ajax request on non-versioned page, response contains rendered page but no <ajax-response> element.. Response should contain ajax redirect to stale page.
> How to reproduce this behavior in attached quickstart project (HomePage in quickstart contains two links (one that opens popup window and the other performs ajax request):
> 1. Click on the popup link. New window is opened.
> 2. In the originating window, click Ajax Link.
> 3. In popup window click Ajax Link and error occurs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3252) StalePageException on non-versioned
Page in Ajax request does not render ajax-response
Posted by "Pedro Santos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Santos updated WICKET-3252:
---------------------------------
Attachment: WICKET-3252-test.patch
+1 for Martin patch, it fix the attached test case asserting that when responding an AJAX request an AJAX response will to be returned
> StalePageException on non-versioned Page in Ajax request does not render ajax-response
> --------------------------------------------------------------------------------------
>
> Key: WICKET-3252
> URL: https://issues.apache.org/jira/browse/WICKET-3252
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Michal Kurtak
> Attachments: stalepageexception-quickstart.zip, WICKET-3252-test.patch, WICKET-3252.patch
>
>
> If StalePageException occurs in Ajax request on non-versioned page, response contains rendered page but no <ajax-response> element.. Response should contain ajax redirect to stale page.
> How to reproduce this behavior in attached quickstart project (HomePage in quickstart contains two links (one that opens popup window and the other performs ajax request):
> 1. Click on the popup link. New window is opened.
> 2. In the originating window, click Ajax Link.
> 3. In popup window click Ajax Link and error occurs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3252) StalePageException on non-versioned
Page in Ajax request does not render ajax-response
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3252.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
Assignee: Martin Grigorov
Fixed with r1050433.
Pedro's tests are also in.
> StalePageException on non-versioned Page in Ajax request does not render ajax-response
> --------------------------------------------------------------------------------------
>
> Key: WICKET-3252
> URL: https://issues.apache.org/jira/browse/WICKET-3252
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Michal Kurtak
> Assignee: Martin Grigorov
> Fix For: 1.5-M4
>
> Attachments: stalepageexception-quickstart.zip, WICKET-3252-test.patch, WICKET-3252.patch
>
>
> If StalePageException occurs in Ajax request on non-versioned page, response contains rendered page but no <ajax-response> element.. Response should contain ajax redirect to stale page.
> How to reproduce this behavior in attached quickstart project (HomePage in quickstart contains two links (one that opens popup window and the other performs ajax request):
> 1. Click on the popup link. New window is opened.
> 2. In the originating window, click Ajax Link.
> 3. In popup window click Ajax Link and error occurs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3252) StalePageException on non-versioned
Page in Ajax request does not render ajax-response
Posted by "Michal Kurtak (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Kurtak updated WICKET-3252:
----------------------------------
Attachment: stalepageexception-quickstart.zip
quickstart with reported bug
> StalePageException on non-versioned Page in Ajax request does not render ajax-response
> --------------------------------------------------------------------------------------
>
> Key: WICKET-3252
> URL: https://issues.apache.org/jira/browse/WICKET-3252
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Michal Kurtak
> Attachments: stalepageexception-quickstart.zip
>
>
> If StalePageException occurs in Ajax request on non-versioned page, response contains rendered page but no <ajax-response> element.. Response should contain ajax redirect to stale page.
> How to reproduce this behavior in attached quickstart project (HomePage in quickstart contains two links (one that opens popup window and the other performs ajax request):
> 1. Click on the popup link. New window is opened.
> 2. In the originating window, click Ajax Link.
> 3. In popup window click Ajax Link and error occurs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.