[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-4203) Interpolator swallows all exceptions

Norman Richards (JIRA) jira-events at lists.jboss.org
Wed Jun 3 15:31:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Richards updated JBSEAM-4203:
------------------------------------

    Fix Version/s: 2.2.0.CR1
         Assignee: Norman Richards


> 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: Norman Richards
>             Fix For: 2.2.0.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