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

WicketTester incorrectly tests for feedback messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 6.2.0
    • None
    • wicket-devutils
    • None

    Description

      WicketTester.assertFeedback() tries to access Feedback Messages from a feedback panel by calling the getFeedbackMessagesModel. However, the list is emptied after rendering, even though the messages are still visible in the child labels. As such - WicketTester asserts no messages in the panel, even when there are messages.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pavel.dubina Pavel Dubina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: