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

WicketTester checkUsability is called before the request has started

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.15
    • 1.4.18, 1.5-RC5
    • wicket
    • None

    Description

      For example, when clicking a link, the checkUsability method is called with the link before RequestCycle.onBeginRequest has been called. This causes tests to fail when, for example, the link has a security check that requires the request cycle. I've created a quickstart that demonstrates the problem.

      Attachments

        1. WICKET-3471.patch
          8 kB
          Pedro Santos
        2. WICKET-3471.patch
          4 kB
          Martijn Dashorst
        3. quickstart.tar.bz2
          5 kB
          Emond Papegaaij

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: