[seam-commits] Seam SVN: r10057 - branches/community/Seam_2_0/src/main/org/jboss/seam/web.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Feb 19 10:52:36 EST 2009
Author: norman.richards at jboss.com
Date: 2009-02-19 10:52:36 -0500 (Thu, 19 Feb 2009)
New Revision: 10057
Modified:
branches/community/Seam_2_0/src/main/org/jboss/seam/web/ExceptionFilter.java
Log:
JBSEAM-3680
Modified: branches/community/Seam_2_0/src/main/org/jboss/seam/web/ExceptionFilter.java
===================================================================
--- branches/community/Seam_2_0/src/main/org/jboss/seam/web/ExceptionFilter.java 2009-02-19 10:44:41 UTC (rev 10056)
+++ branches/community/Seam_2_0/src/main/org/jboss/seam/web/ExceptionFilter.java 2009-02-19 15:52:36 UTC (rev 10057)
@@ -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() );
More information about the seam-commits
mailing list