You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/11/18 17:25:58 UTC

[jira] Created: (WW-1513) Dispatcher's setConfigurationManager() method has no effect

Dispatcher's setConfigurationManager() method has no effect
-----------------------------------------------------------

                 Key: WW-1513
                 URL: http://issues.apache.org/struts/browse/WW-1513
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: tm_jee
         Assigned To: tm_jee
             Fix For: 2.0.2


Currently, Dispatcher allows ConfigurationManager to be set through a 
setter method, however a new ConfigurationManager is being created when 
Dispatcher constructor is called, resulting in the the setter method 
being functionless.

I think we should not make init() method private, maybe public. When 
FilterDispatcher  creates an instance of Dispatcher, it needs to 
explicitely called init method on Dispatcher to initialize it.

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

        

[jira] Resolved: (WW-1513) Dispatcher's setConfigurationManager() method has no effect

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1513?page=all ]

tm_jee resolved WW-1513.
------------------------

    Resolution: Fixed

Sending        src/main/java/org/apache/struts2/StrutsTestCase.java
Sending        src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
Sending        src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
Sending        src/main/java/org/apache/struts2/portlet/dispatcher/Jsr168Dispatcher.java
Sending        src/test/java/org/apache/struts2/dispatcher/DispatcherTest.java
Sending        src/test/java/org/apache/struts2/dispatcher/FilterDispatcherTest.java
Sending        src/test/java/org/apache/struts2/dispatcher/FilterTest.java
Sending        src/test/java/org/apache/struts2/views/jsp/AbstractTagTest.java
Sending        src/test/java/org/apache/struts2/views/jsp/PortletUrlTagTest.java
Transmitting file data .........
Committed revision 476696.

> Dispatcher's setConfigurationManager() method has no effect
> -----------------------------------------------------------
>
>                 Key: WW-1513
>                 URL: http://issues.apache.org/struts/browse/WW-1513
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: tm_jee
>         Assigned To: tm_jee
>             Fix For: 2.0.2
>
>
> Currently, Dispatcher allows ConfigurationManager to be set through a 
> setter method, however a new ConfigurationManager is being created when 
> Dispatcher constructor is called, resulting in the the setter method 
> being functionless.
> I think we should not make init() method private, maybe public. When 
> FilterDispatcher  creates an instance of Dispatcher, it needs to 
> explicitely called init method on Dispatcher to initialize it.

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