[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1602) exception handler not recognizing end-conversation
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 17:45:51 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1602?page=all ]
Pete Muir updated JBSEAM-1602:
------------------------------
Fix Version/s: 2.0.0.CR1
Scheduling as this needs to be looked at
> 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
> Fix For: 2.0.0.CR1
>
>
> 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