Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.6
-
None
-
Sun Glassfish Enterpriser Server 2.1
Description
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.
Attachments
Attachments
Issue Links
- incorporates
-
WICKET-499 Investigate whether we can use component meta data for the storage of feedback messages
- Resolved
- is depended upon by
-
WICKET-2948 Clash between AutoComplete request and Form submit request
- Closed
- relates to
-
WICKET-2948 Clash between AutoComplete request and Form submit request
- Closed