You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/10/10 21:49:15 UTC

[jira] Resolved: (WW-1466) ServletContextHolderListener.contextDestroyed implementation

     [ http://issues.apache.org/struts/browse/WW-1466?page=all ]

Don Brown resolved WW-1466.
---------------------------

    Fix Version/s: 2.0.1
       Resolution: Fixed
         Assignee: Don Brown

Fixed, thanks for the patch!

> ServletContextHolderListener.contextDestroyed implementation
> ------------------------------------------------------------
>
>                 Key: WW-1466
>                 URL: http://issues.apache.org/struts/browse/WW-1466
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Portlet Integration
>    Affects Versions: 2.0.1
>            Reporter: David H. DeWolf
>         Assigned To: Don Brown
>             Fix For: 2.0.1
>
>         Attachments: servlet-context-holder-listener.patch
>
>
> Patch contains a basic implementation of contextDestroyed which nullifies the context.  The test has also been updated to reflect the change.
> This patch is especially critical when testing classes which rely upon this Listener.  If not properly destroyed, an EasyMock reference to the servletContext will be made available to all tests once the ServletContextHolderListenerTest is executed. 

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