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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Nov 22 12:53:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2163?page=comments#action_12388825 ] 
            
Pete Muir commented on JBSEAM-2163:
-----------------------------------

afterPhase isn't being raised as an event due to 
17:52:00,966 ERROR [CachedConnectionValve] Application error: Faces Servlet did not complete its transaction


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

        



More information about the seam-issues mailing list