Author: manaRH
Date: 2009-02-19 16:13:59 -0500 (Thu, 19 Feb 2009)
New Revision: 10060
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/web/ExceptionFilter.java
Log:
JBPAPP-1427
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/web/ExceptionFilter.java
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/web/ExceptionFilter.java 2009-02-19
17:25:24 UTC (rev 10059)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/main/org/jboss/seam/web/ExceptionFilter.java 2009-02-19
21:13:59 UTC (rev 10060)
@@ -27,6 +27,7 @@
import org.jboss.seam.annotations.web.Filter;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.contexts.FacesLifecycle;
+import org.jboss.seam.contexts.Lifecycle;
import org.jboss.seam.core.ConversationPropagation;
import org.jboss.seam.core.Manager;
import org.jboss.seam.exception.Exceptions;
@@ -92,6 +93,9 @@
(Manager) request.getAttribute( Seam.getComponentName(Manager.class) );
String conversationId = manager==null ? null : manager.getCurrentConversationId();
+ // Ensure that the call in which the exception occurred was cleaned up - it might
not be, and there is no harm in trying
+ Lifecycle.endRequest();
+
//Initialize the temporary context objects
FacesLifecycle.beginExceptionRecovery( facesContext.getExternalContext() );
Show replies by date