[seam-issues] [JBoss JIRA] Created: (JBSEAM-4616) back port fix from JBSEAM-4203-Interpolator swallows all exceptions
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Fri Mar 26 07:08:37 EDT 2010
back port fix from JBSEAM-4203-Interpolator swallows all exceptions
-------------------------------------------------------------------
Key: JBSEAM-4616
URL: https://jira.jboss.org/jira/browse/JBSEAM-4616
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