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

Add component info in the error messages related to WicketTester#assertComponentOnAjaxResponse()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.24.0
    • 8.0.0-M2, 6.25.0, 7.5.0
    • wicket
    • None

    Description

      Error messages from org.apache.wicket.util.tester.WicketTester#assertComponentOnAjaxResponse(java.lang.String) are not very helpful at the moment because they don't mention the component id/path that is not found in the Ajax response.
      One has to use the stacktrace to figure out which component is failing.
      This could be improved by adding the component info (Component#toString(false)) in the error messages.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: