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

Error feedback is hidden by lower level messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4, 1.4-RC3
    • Fix Version/s: 1.3.6, 1.4-RC3
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Wicket 1.3.4 and Wicket SVN

      Description

      A DEBUG, INFO or WARNING feedback message hides a later added ERROR message.
      The FeedbackMessages.hasErrorMessageFor() is unable to find it.

      The problem is inside FeedbackMessages.hasMessageFor(component, level).
      It checks only the first found message for the given component.
      It should not stop on a message with a lower error level.

        Attachments

        1. WICKET-2091-test.txt
          4 kB
          Wille Faler
        2. wicket-2190-fix.patch
          1 kB
          Charlie Dobbie
        3. WICKET-2091-test2.patch
          2 kB
          Oli Evans

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              fidlej Ivo Danihelka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: