[
http://jira.jboss.com/jira/browse/JBSEAM-2163?page=comments#action_12384774 ]
Pete Muir commented on JBSEAM-2163:
-----------------------------------
Problem is that the exception occurs before faces messages are dequeued into the faces
context and so that gets skipped. Hmm, maybe we should slip this as its not the problem I
thought it was and I don't want to alter lifecycle ordering at this point.
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
Assigned To: Pete Muir
Fix For: 2.0.0.GA
Attachments: seam_converter_test.tar.gz, seam_converter_test2.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