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

Allow continued processing with WicketTester after exception is thrown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.11.0, 7.0.0-M1
    • 7.0.0-M1
    • wicket
    • None

    Description

      When exposing an exception while processing, WicketTester is left in an inconsistent state. Since #setupNextRequestCycle() is not called, no additional processing is possible afterwards:

      org.apache.wicket.WicketRuntimeException: No RequestCycle is currently set!

      For tests expecting WicketTester#process() to fail, it would be nice to be able to continue processing with the same tester instance afterwards.

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: