[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1602) exception handler not recognizing end-conversation
Hung Tang (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 13:32:57 EDT 2007
exception handler not recognizing end-conversation
--------------------------------------------------
Key: JBSEAM-1602
URL: http://jira.jboss.com/jira/browse/JBSEAM-1602
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.BETA1
Environment: Seam-CVS
Reporter: Hung Tang
In my application, I'm using pages.xml exception handling mechanism to automatically end conversations when optimistic locking exceptions ever arise.
This is what I have
<exception class="javax.persistence.OptimisticLockException">
<end-conversation/>
<redirect view-id="/p/home.xhtml">
<message severity="ERROR">#{messages['concurrentmodification']}</message>
</redirect>
</exception>
However, when it does come up, the conversation is not ending as I want.
I could reproduce this error in the contact-list example. Just add begin propagation to the editContact and the exception handler will recognize it as a javax.persistence.PersistenceException, but it will not end the conversation as you have told it to.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list