[jboss-cvs] jboss-seam/src/main/org/jboss/seam/web ...
Gavin King
gavin.king at jboss.com
Thu Jun 21 04:28:17 EDT 2007
User: gavin
Date: 07/06/21 04:28:17
Modified: src/main/org/jboss/seam/web ExceptionFilter.java
Log:
fix a bug in exception handling for non-JSF request
Revision Changes Path
1.14 +2 -0 jboss-seam/src/main/org/jboss/seam/web/ExceptionFilter.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ExceptionFilter.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/web/ExceptionFilter.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- ExceptionFilter.java 20 Jun 2007 17:45:58 -0000 1.13
+++ ExceptionFilter.java 21 Jun 2007 08:28:17 -0000 1.14
@@ -25,6 +25,7 @@
import org.jboss.seam.annotations.Startup;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.FacesLifecycle;
+import org.jboss.seam.core.Manager;
import org.jboss.seam.exceptions.Exceptions;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
@@ -81,6 +82,7 @@
MockFacesContext facesContext = createFacesContext(request, response);
facesContext.setCurrent();
FacesLifecycle.beginExceptionRecovery( facesContext.getExternalContext() );
+ Manager.instance().initializeTemporaryConversation();
try
{
rollbackTransactionIfNecessary();
More information about the jboss-cvs-commits
mailing list