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

WicketTester incorrectly tests for feedback messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Component/s: wicket-devutils
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: