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

WicketTester checkUsability is called before the request has started

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.15
    • Fix Version/s: 1.4.18, 1.5-RC5
    • Component/s: wicket
    • Labels:
      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. quickstart.tar.bz2
          5 kB
          Emond Papegaaij
        2. WICKET-3471.patch
          4 kB
          Martijn Dashorst
        3. WICKET-3471.patch
          8 kB
          Pedro Santos

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: