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

[jira] Created: (WICKET-557) RedirectPage inside ListView causes page expiration issues

RedirectPage inside ListView causes page expiration issues
----------------------------------------------------------

                 Key: WICKET-557
                 URL: https://issues.apache.org/jira/browse/WICKET-557
             Project: Wicket
          Issue Type: Bug
          Components: wicket
            Reporter: Carlos Pita
             Fix For: 1.3
         Attachments: redirect.tgz

I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 

I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 

I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
the two cases at the urls:

http://localhost:8080/redirect/app/simple
http://localhost:8080/redirect/app/list

(just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Updated: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-557:
--------------------------------

    Fix Version/s: 1.3

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Assigned To: Alastair Maw
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Updated: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-557:
--------------------------------

    Fix Version/s:     (was: 1.3.0)
                   1.3.0-beta2

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0
>            Reporter: Carlos Pita
>         Assigned To: Johan Compagner
>             Fix For: 1.3.0-beta2
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Updated: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Carlos Pita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Pita updated WICKET-557:
-------------------------------

    Attachment: redirect.tgz

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Carlos Pita
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Assigned: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw reassigned WICKET-557:
-----------------------------------

    Assignee: Alastair Maw

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Assigned To: Alastair Maw
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Commented: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495439 ] 

Alastair Maw commented on WICKET-557:
-------------------------------------

That's an interesting one. Thanks for the comprehensive quickstart. We'll look into this.

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Assigned To: Alastair Maw
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Updated: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-557:
--------------------------------

    Assignee: Johan Compagner  (was: Alastair Maw)

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Assigned To: Johan Compagner
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Closed: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Compagner closed WICKET-557.
----------------------------------

    Resolution: Fixed

the test was incorrect, and because the log.error wasn't reported in the console it didn't get noticed that ListRow isn't serializeable:
when i do this:

class ListRow  implements Serializable

it goes fine.


> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: trunk
>            Reporter: Carlos Pita
>            Assignee: Johan Compagner
>             Fix For: 1.3.0-beta2
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Updated: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Carlos Pita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Pita updated WICKET-557:
-------------------------------

        Fix Version/s:     (was: 1.3)
    Affects Version/s: 1.3

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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


[jira] Commented: (WICKET-557) RedirectPage inside ListView causes page expiration issues

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495440 ] 

Alastair Maw commented on WICKET-557:
-------------------------------------

This seems to be a bug with the SecondLevelCacheSessionStore. If you use the HttpSessionStore, the problem goes away.

To use HttpSessionStore, do this in your WebApplication class:

	@Override
	protected ISessionStore newSessionStore() {
		return new HttpSessionStore(this);
	}

I'm reassigning this one to Johan, as the SecondLevelCacheSessionStore is his baby.

> RedirectPage inside ListView causes page expiration issues
> ----------------------------------------------------------
>
>                 Key: WICKET-557
>                 URL: https://issues.apache.org/jira/browse/WICKET-557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Carlos Pita
>         Assigned To: Alastair Maw
>             Fix For: 1.3
>
>         Attachments: redirect.tgz
>
>
> I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a different tab/window) something like a cache clean up seems to happen, because after that any of the internal links give a page expiration error. 
> I have coded a little example: a simple page with just one external and one internal link. I can not reproduce the problem in this reduced scenario. But if both links are rows of a ListView, after following the external one once, the internal one gets expired. 
> I have attached an eclipse project with a page for each situation: simple, list. There is a jetty launcher inside so that you can fire it up. You can then browse
> the two cases at the urls:
> http://localhost:8080/redirect/app/simple
> http://localhost:8080/redirect/app/list
> (just ignore the tab package; it's an example with the ListView embedded into a TabbedPanel from which I came up to the other examples by successive reductions). 

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