[seam-issues] [JBoss JIRA] Closed: (JBSEAM-4203) Interpolator swallows all exceptions
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Feb 26 07:43:11 EST 2010
[ https://jira.jboss.org/jira/browse/JBSEAM-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed JBSEAM-4203.
-----------------------------
> Interpolator swallows all exceptions
> ------------------------------------
>
> Key: JBSEAM-4203
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4203
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.1.2.CR1
> Environment: Any
> Reporter: Yuriy Lazarev
> Assignee: Marek Novotny
> Fix For: 2.2.1.CR1
>
>
> org.jboss.seam.core.Interpolator swallows all exceptions, so if I have #{entityHome.instance.name} somewere in the page, and entityHome has id which is missed from database - I expect that org.jboss.seam.framework.EntityNotFoundException will be handled by this block in pages.xml
> <exception class = "org.jboss.seam.framework.EntityNotFoundException">
> <redirect view-id = "/error.xhtml">
> <message severity = "warn">#{messages['org.jboss.seam.framework.EntityNotFoundException']}</message>
> </redirect>
> </exception>
> but, instead I got
> [WARN] exception interpolating string: #{entityHome.instance.name}
> This is due
> Interpolator.java:131
> } catch (Exception e) {
> log.warn("exception interpolating string: " + string, e);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list