Accessing handledException through EL broken
--------------------------------------------
Key: JBSEAM-1750
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1750
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.1.GA
Reporter: Samuel Mendenhall
Assigned To: Norman Richards
Priority: Minor
Fix For: 2.0.0.CR1
Bean:
throw new HibernateException("Test");
pages.xml:
<exception class="org.hibernate.HibernateException">
<end-conversation/>
<redirect view-id="/error.xhtml">
<message
severity="WARN">#{org.jboss.seam.handledException.message}</message>
</redirect>
</exception>
I am correctly redirected to the error.seam page however the message is empty and in my
console I have:
11:52:47,571 WARN [Interpolator] exception interpolating string:
#{org.jboss.seam.handledException.message}
javax.faces.el.PropertyNotFoundException: Bean: org.hibernate.HibernateException,
property: message
....
Furthermore, the documentation says to use #{handledException.message} which is
incorrect, it should be #{org.jboss.seam.handledException.message}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: