[weld-issues] [JBoss JIRA] Commented: (CDITCK-114) Implement test for assertion 6.7.4 tb using a filter to check for the exception

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Wed Feb 24 09:21:10 EST 2010


    [ https://jira.jboss.org/jira/browse/CDITCK-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12516320#action_12516320 ] 

Jozef Hartinger commented on CDITCK-114:
----------------------------------------

I can use ExceptionHandler provided we upgrade to JSF 2 API. The problem with the filter is that the exception is wrapped within ServletException which I am not sure I can rely on with different containers.

> Implement test for assertion 6.7.4 tb using a filter to check for the exception
> -------------------------------------------------------------------------------
>
>                 Key: CDITCK-114
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-114
>             Project: CDI TCK
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>            Reporter: Pete Muir
>            Assignee: Jozef Hartinger
>             Fix For: 1.1.0.CR1
>
>
> It's very hard to test the exception from the client, as there is not even a requirement that the server send a particular error page. However a servlet, installed as the outer most filter, should be able to find the exception is thrown.
> I don't know how you check if a new transient conversation is created.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list