Wicket
  1. Wicket
  2. WICKET-958

Mounts ignored for PageExpiredErrorPage

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta3
    • Fix Version/s: 1.3.0-rc1
    • Component/s: wicket
    • Labels:
      None

      Description

      I have the following simple scenario:

      app.mount( new IndexedParamUrlCodingStrategy( "login", LoginPage.class ) );
      app.getApplicationSettings().setPageExpiredErrorPage( LoginPage.class );

      If I call the application, I get directed to the url

      http://appurl/login

      fine. When the Session times out, I get redirected to the LoginPage again, but
      this time not to the above url but to

      http://appurl/?wicket:interface=:2::::

      Couldn't the PageExpiredErrorPage be checked for Mounts?

        Activity

        Jan Kriesten created issue -
        Hide
        Eelco Hillenius added a comment -

        bulk set issues to next version. I only did a quick check (and filtered some out for 1.3.1), but we can always bump em again.

        Show
        Eelco Hillenius added a comment - bulk set issues to next version. I only did a quick check (and filtered some out for 1.3.1), but we can always bump em again.
        Eelco Hillenius made changes -
        Field Original Value New Value
        Fix Version/s 1.3.0-beta5 [ 12312818 ]
        Gerolf Seitz made changes -
        Assignee Gerolf Seitz [ seitz ]
        Hide
        Johan Compagner added a comment -

        i would start to look why it redirects.
        So Requestcycle.redirect boolean is true when the pageexpired page is set.

        Show
        Johan Compagner added a comment - i would start to look why it redirects. So Requestcycle.redirect boolean is true when the pageexpired page is set.
        Hide
        Gerolf Seitz added a comment -

        fixed: set RequestCycle.redirect to true if the pageExpiredErrorPage is mounted, false otherwise

        Show
        Gerolf Seitz added a comment - fixed: set RequestCycle.redirect to true if the pageExpiredErrorPage is mounted, false otherwise
        Gerolf Seitz made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Igor Vaynberg made changes -
        Assignee Gerolf Seitz [ seitz ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        52d 15h 27m 1 Gerolf Seitz 03/Nov/07 18:33

          People

          • Assignee:
            Unassigned
            Reporter:
            Jan Kriesten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development