Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4004

PageExpiredException still thrown after handled by IRequestCycleListener

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC7
    • 1.5.1
    • wicket
    • None
    • Wicket version: 1.5-RC7
      java version "1.6.0_25"
      Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
      Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)

    Description

      In the attached quickstart, a simple AJAX form expires.
      After expiry, the user clicks a button and a PageExpiredException is thrown.

      onException() of an IRequestCycleListener handles it, but the framework still throws it so the handling of it does not work.

      It appears this is caused by getRequestLoggerSettings().setRequestLoggerEnabled(true); but I am not sure.

      This works fine in 1.4

      Attachments

        1. testcase1.4.zip
          8 kB
          bernard
        2. quickstart.zip
          10 kB
          bernard

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            bht@actrix.gen.nz bernard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: