[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2163) When an exception in a converter is thrown, it in not properly handled by <exception...> in pages.xml

Adam Warski (JIRA) jira-events at lists.jboss.org
Fri Oct 26 09:19:04 EDT 2007


When an exception in a converter is thrown, it in not properly handled by <exception...> in pages.xml
-----------------------------------------------------------------------------------------------------

                 Key: JBSEAM-2163
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2163
             Project: JBoss Seam
          Issue Type: Bug
    Affects Versions: 2.0.0.CR2
            Reporter: Adam Warski


Suppose we have an page parameter, which uses a converter:
<page view-id="/test.xhtml">
        <param name="param1" value="#{testBean.param1}" converterId="conv1" />
 </page>

and that during conversion an exception is thrown. It is declared as handled in pages.xml:
<exception class="org.jboss.seam.test3.ConverterTestException">
        <redirect view-id="/error.xhtml">
            <message>Error: converter</message>
        </redirect>
</exception>

But the message "Error: converter" is not shown by <h:messages> on error.xhtml.

Attached is a testcase for this, both with sources and binaries.

-- 
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