[ 
https://issues.apache.org/jira/browse/WICKET-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wille Faler updated WICKET-2091:
--------------------------------

    Attachment: WICKET-2091-test.txt

I have attached a patch with unit-tests for this bug.

Given the code currently in SVN the test fails (as expected), however I think a 
patch fixing the issue is forthcoming from another source momentarily, after 
which the test should pass..

> Error feedback is hidden by lower level messages
> ------------------------------------------------
>
>                 Key: WICKET-2091
>                 URL: https://issues.apache.org/jira/browse/WICKET-2091
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.4, 1.4-RC3
>         Environment: Wicket 1.3.4 and Wicket SVN
>            Reporter: Ivo Danihelka
>         Attachments: WICKET-2091-test.txt, wicket-2091.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to