You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Bob Tiernay (JIRA)" <ji...@apache.org> on 2008/08/13 01:58:25 UTC

[jira] Created: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Cannot set a list of values on ChainingInterceptor's excludes property
----------------------------------------------------------------------

                 Key: WW-2764
                 URL: https://issues.apache.org/struts/browse/WW-2764
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors
    Affects Versions: 2.0.11.1
            Reporter: Bob Tiernay


The following struts.xml configuration does not work as expected:

<interceptor-ref name="defaultStack">
   <param name="chain.excludes">session,servletRequest,servletResponse</param>
</interceptor-ref>

This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].

This was noted in:

http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html

However, the proposed solution of:

<interceptor-ref name="defaultStack">
   <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
</interceptor-ref>

does not work either.

Need to update the documentation as well to illustrate how to use this property




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45221#action_45221 ] 

Nils-Helge Garli commented on WW-2764:
--------------------------------------

Seems like other interceptors that have similar properties accept them as a String. Is that possible to do here as well (like the "excludeParams" and "acceptParams" in ParametersInterceptor)?

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso closed WW-2764.
-------------------------------

    Resolution: Cannot Reproduce

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45223#action_45223 ] 

James Holmes commented on WW-2764:
----------------------------------

I'm inclined to close this ticket if it is working for us and we don't hear back from the original reporter. Let's give it a couple days and close if no response.

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2764:
-----------------------------

    Fix Version/s: 2.1.3

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45224#action_45224 ] 

Nils-Helge Garli commented on WW-2764:
--------------------------------------

Agreed. Of course, other people than the original reporter is welcome to test as well :)

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45222#action_45222 ] 

Nils-Helge Garli commented on WW-2764:
--------------------------------------

Works both with trunk and 2.0.14 for me:

<interceptor-ref name="defaultStack">
   <param name="chain.excludes">session,servletRequest,servletResponse</param>
</interceptor-ref> 

Can you upgrade to 2.0.14 and see if that solves your problem?




> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Bob Tiernay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45225#action_45225 ] 

Bob Tiernay commented on WW-2764:
---------------------------------

No time to test sorry :(.  I think I got around this some how though. Note that this issue was reported in 2.0.11.1 

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2764) Cannot set a list of values on ChainingInterceptor's excludes property

Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45238#action_45238 ] 

Nils-Helge Garli commented on WW-2764:
--------------------------------------

Ok. I suggest we go ahead and close this issue.

> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
>                 Key: WW-2764
>                 URL: https://issues.apache.org/struts/browse/WW-2764
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.11.1
>            Reporter: Bob Tiernay
>             Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
>    <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.