[ 
https://issues.apache.org/jira/browse/TAP5-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081411#comment-13081411
 ] 

Hudson commented on TAP5-1598:
------------------------------

Integrated in tapestry-trunk-freestyle #458 (See 
[https://builds.apache.org/job/tapestry-trunk-freestyle/458/])
    TAP5-1598: CLoak/decloak the Environment using a try…finally block when 
partial page rendering
TAP5-1598: AlertManager service does the wrong thing if the Ajax request will 
terminate with a redirect

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1155180
Files : 
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AjaxPartialResponseRendererImpl.java

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1155178
Files : 
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/StreamPageContentResultProcessor.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AjaxPartialResponseRendererImpl.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/MultiZoneUpdateEventResultProcessor.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/EnvironmentImpl.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AjaxComponentEventRequestHandler.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/alerts/AlertManagerImpl.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/AlertsDemo.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/EnvironmentImplTest.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RenderCommandComponentEventResultProcessor.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/Environment.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageRenderQueueImpl.java
* 
/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy
* 
/tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml


> 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


Reply via email to