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

BaseWicketTester should not hardcode UTF-8 in isComponentOnAjaxResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.4
    • 1.4-RC3
    • None
    • None

    Description

      UTF-8 encoding should not be hard coded in BaseWicketTester.isComponentOnAjaxResponse:

      boolean isAjaxResponse = ajaxResponse.startsWith("<?xml version=\"1.0\" encoding=\"UTF-8\"?><ajax-response>");

      Moreover, it is very hard to work around this limitation due to a poor design of BaseWicketTester, Result and so on.

      regards
      Vincent

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            vmathon Vincent MATHON
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: