[seam-issues] [JBoss JIRA] (SEAMFACES-232) Faces initiated transaction does not rollback on RuntimeException

Cody Lerum (Commented) (JIRA) jira-events at lists.jboss.org
Tue Jan 3 21:39:09 EST 2012


    [ https://issues.jboss.org/browse/SEAMFACES-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653688#comment-12653688 ] 

Cody Lerum commented on SEAMFACES-232:
--------------------------------------

So in reality when we pickup the exception event there are two exceptions on top of our thrown exception (throwing just a standard java.lang.Exception)

javax.faces.FacesException
-javax.faces.el.EvaluationException
--java.lang.Exception

Both the faces exceptions are RuntimeExceptions. So maybe it is just best to say if you let a exception bubble up to the faces level then we are going to act on the exception chain as we see it.

If so there is no need to pass it through the ExecptionUtil class as the top of the Exception chain is always going to be a javax.faces.FacesException (RuntimeException)
                
> Faces initiated transaction does not rollback on RuntimeException
> -----------------------------------------------------------------
>
>                 Key: SEAMFACES-232
>                 URL: https://issues.jboss.org/browse/SEAMFACES-232
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: Transactions & Persistence
>    Affects Versions: 3.1.0.Final
>            Reporter: Cody Lerum
>             Fix For: 3.1.0.Tracking
>
>
> Currently a runtime exception thrown in the Seam Faces started tx around Invoke Application will not trigger a rollback.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list