You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2011/08/09 02:58:27 UTC

[jira] [Closed] (TAP5-1598) AlertManager service does the wrong thing if the Ajax request will terminate with a redirect

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

Howard M. Lewis Ship closed TAP5-1598.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
         Assignee: Howard M. Lewis Ship

> AlertManager service does the wrong thing if the Ajax request will terminate with a redirect
> --------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1598
>                 URL: https://issues.apache.org/jira/browse/TAP5-1598
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: ajax
>             Fix For: 5.3
>
>
> When invoking the AlertManager methods during an Ajax request, the AlertManager may not persistently store new Alerts (those that are not of persistent duration), as it expects that they will instead be transferred in the response down to the client for immediate display.  However, in the case where a redirect is sent to the client (i.e., returning a page class or instance from the Ajax event handler method), the messages are not displayed on the new page since they were not stored between requests.
> The AlertManager should configure things so that Alerts are added to the response and to the AlertStorage SSO and, if the Alerts are in fact sent to the client, cleared from the SSO as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira