[jbossseam-issues] [JBoss JIRA] Updated: (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:29:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2163?page=all ]
Adam Warski updated JBSEAM-2163:
--------------------------------
Attachment: seam_converter_test.tar.gz
Testacase
> 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
> Attachments: seam_converter_test.tar.gz
>
>
> 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