You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Chris Snyder (JIRA)" <ji...@apache.org> on 2014/04/23 17:12:23 UTC

[jira] [Updated] (WICKET-5571) Feedback messages not cleared for ajax events

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

Chris Snyder updated WICKET-5571:
---------------------------------

    Attachment: ajaxfeedback-demo.zip

Quickstart demonstrating the issue. The feedback messages are appended with a random number to show that the duplicate messages are in fact from the previous request (not the validator being called twice in one request). Notice that the first of the duplicate error messages has already been seen after the first event (logged on the console).

> Feedback messages not cleared for ajax events
> ---------------------------------------------
>
>                 Key: WICKET-5571
>                 URL: https://issues.apache.org/jira/browse/WICKET-5571
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.14.0
>            Reporter: Chris Snyder
>            Priority: Minor
>         Attachments: ajaxfeedback-demo.zip
>
>
> I have a form with a few AjaxFallbackButtons to handle various operations (add/delete item, preview content, save, etc.). There is also validation, with error messages displayed in a FeedbackPanel.
> I've discovered that when the events are passed via ajax, duplicate feedback messages are displayed. However, non-ajax events have the correct feedback.
> The undesired behavior occurs with 6.14.0 and 6.15.0-SNAPSHOT, while 1.5.0 works as desired.
> I'll attach a quickstart that demonstrates the issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)