[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:11:28 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-3081?page=comments#action_12418548 ]
Norman Richards commented on JBSEAM-3081:
-----------------------------------------
That is what the code does now.
> 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: Test Harness
> Reporter: Samuel Mendenhall
> Fix For: 2.1.0.BETA1, 2.0.3.GA
>
>
> 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