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

Igor Vaynberg resolved WICKET-2705.
-----------------------------------

    Resolution: Fixed
    
> Feedback messages get cleaned up in AJAX request, thus never rendered and 
> never visible to user
> -----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2705
>                 URL: https://issues.apache.org/jira/browse/WICKET-2705
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.6
>         Environment: Sun Glassfish Enterpriser Server 2.1
>            Reporter: Jan Winkler
>            Assignee: Igor Vaynberg
>             Fix For: 6.0.0
>
>         Attachments: feedbackbug.patch, feedbackbug.tgz, patch.txt
>
>
> Consider a page containing a form and an AJAXy component (as in an AJAX link 
> or a panel with AjaxSelfUpdatingTimerBehavior). The form contains code, that 
> makes its processing take relatively long time, even when validation fails 
> (let's say we forgot to fill in a requred field). The form gets submitted, 
> and while it's processing, the AJAX component triggers a request (AJAX link 
> gets clicked, or AjaxSelfUpdatingTimerBehavior kicks in). While the AJAX 
> request gets served, cleanupFeedbackMessages() is called, wiping all feedback 
> messages found by WebSession.MESSAGES_FOR_COMPONENTS filter.
> WebSession.MESSAGES_FOR_COMPONENTS implementation (or its usage in 
> cleanupFeedbackMessages()) is a little bit fishy, as it accept()s messages, 
> that haven't been rendered.
> Will add testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to