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

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

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

          Commit 7fa2d45eb74e0447950bb5e8826846069f34d204 in wicket's branch refs/heads/wicket-6.x from mgrigorov
          [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=7fa2d45 ]

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

          jira-bot ASF subversion and git services added a comment - Commit 7fa2d45eb74e0447950bb5e8826846069f34d204 in wicket's branch refs/heads/wicket-6.x from mgrigorov [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=7fa2d45 ] WICKET-5874 WicketTester TagTester does not work as expected when using non self closing tags

          Commit 907f891af1a158ef015e7fcd70e0c997b227d22a in wicket's branch refs/heads/master from mgrigorov
          [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=907f891 ]

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

          (cherry picked from commit 7fa2d45eb74e0447950bb5e8826846069f34d204)

          jira-bot ASF subversion and git services added a comment - Commit 907f891af1a158ef015e7fcd70e0c997b227d22a in wicket's branch refs/heads/master from mgrigorov [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=907f891 ] WICKET-5874 WicketTester TagTester does not work as expected when using non self closing tags (cherry picked from commit 7fa2d45eb74e0447950bb5e8826846069f34d204)

          People

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

            Dates

              Created:
              Updated:
              Resolved: