[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3081) org.jboss.seam.mock.MockFacesContext should do the cleanup in the release() Method

Norman Richards (JIRA) jira-events at lists.jboss.org
Mon Jun 23 14:16:28 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3081?page=comments#action_12418550 ] 
            
Norman Richards commented on JBSEAM-3081:
-----------------------------------------

What needs to be done here?  The original request was relayed from a user using pre-2.0 seam.  The above is the current implementation. 

> org.jboss.seam.mock.MockFacesContext should do the cleanup in the release() Method
> ----------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3081
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3081
>             Project: Seam
>          Issue Type: Task
>          Components: Seam
>            Reporter: Samuel Mendenhall
>             Fix For:  4.3.0.GA_CP02,  4.2.0.GA_CP04
>
>
> Per ticket 184576
> @Override
>   public void release() {
>       setCurrentInstance(null);
>   }
> If the next request is not going over faces-servlet (e.g index.jsp), then the old instance is used. generally, the seam implementation should eat the own dogfood and do a clean cleanup...

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