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

WicketTester TagTester does not work as expected when using non self closing tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.20.0, 7.0.0-M6
    • None
    • None

    Description

      WicketTester TagTester does not work as expected when using non self closing tags.

      WicketTester code

      TagTester tagTester = wicketTesterInstance.getTagByWicketId("someInputId");
      

      This does not work, tagTester is null:

      <input wicket:id="someInputId">
      

      This works as expected:

      <input wicket:id="someInputId"/>
      

      Found using Wicket version 6.17.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            ostlund Per Östlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: