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

Allow continued processing with WicketTester after exception is thrown

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.11.0, 7.0.0-M1
    • Fix Version/s: 7.0.0-M1
    • Component/s: wicket
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: