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

[jira] Created: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

Stacks defaultStack & paramsPrepareParamsStack are not synced
-------------------------------------------------------------

                 Key: WW-2757
                 URL: https://issues.apache.org/struts/browse/WW-2757
             Project: Struts 2
          Issue Type: Improvement
          Components: Documentation, XML Configuration
    Affects Versions: 2.1.2, 2.1.1, 2.1.0, 2.0.11.2, 2.0.11.1, 2.0.11
            Reporter: Maxx
            Priority: Minor


Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.

There are other differences which are unfortunately not documented (for unknown reasons):
* interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
* no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
* the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value

Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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


[jira] Updated: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

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

Musachy Barroso updated WW-2757:
--------------------------------

    Affects Version/s:     (was: 2.0.11.2)
                           (was: 2.0.11.1)
                           (was: 2.1.1)
                           (was: 2.1.2)
                           (was: 2.0.11)
                           (was: 2.1.0)
                       2.1.6
        Fix Version/s:     (was: Future)
                       2.1.7

This would be easy to fix

> Stacks defaultStack & paramsPrepareParamsStack are not synced
> -------------------------------------------------------------
>
>                 Key: WW-2757
>                 URL: https://issues.apache.org/struts/browse/WW-2757
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation, XML Configuration
>    Affects Versions: 2.1.6
>            Reporter: Maxx
>            Priority: Minor
>             Fix For: 2.1.7
>
>
> Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.
> There are other differences which are unfortunately not documented (for unknown reasons):
> * interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
> * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
> * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
> Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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


[jira] Updated: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

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

James Holmes updated WW-2757:
-----------------------------

    Fix Version/s: Future

> Stacks defaultStack & paramsPrepareParamsStack are not synced
> -------------------------------------------------------------
>
>                 Key: WW-2757
>                 URL: https://issues.apache.org/struts/browse/WW-2757
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation, XML Configuration
>    Affects Versions: 2.0.11, 2.0.11.1, 2.0.11.2, 2.1.0, 2.1.1, 2.1.2
>            Reporter: Maxx
>            Priority: Minor
>             Fix For: Future
>
>
> Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.
> There are other differences which are unfortunately not documented (for unknown reasons):
> * interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
> * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
> * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
> Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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


[jira] Resolved: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

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

Musachy Barroso resolved WW-2757.
---------------------------------

    Resolution: Fixed

* interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
These interceptor should be applied only once.

 * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
fixed

 * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
fixed

> Stacks defaultStack & paramsPrepareParamsStack are not synced
> -------------------------------------------------------------
>
>                 Key: WW-2757
>                 URL: https://issues.apache.org/struts/browse/WW-2757
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation, XML Configuration
>    Affects Versions: 2.1.6
>            Reporter: Maxx
>            Priority: Minor
>             Fix For: 2.1.7
>
>
> Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.
> There are other differences which are unfortunately not documented (for unknown reasons):
> * interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
> * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
> * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
> Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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


[jira] Commented: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46155#action_46155 ] 

Musachy Barroso commented on WW-2757:
-------------------------------------

Wes, I don't remember :)

> Stacks defaultStack & paramsPrepareParamsStack are not synced
> -------------------------------------------------------------
>
>                 Key: WW-2757
>                 URL: https://issues.apache.org/struts/browse/WW-2757
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation, XML Configuration
>    Affects Versions: 2.1.6
>            Reporter: Maxx
>            Priority: Minor
>             Fix For: 2.1.7
>
>
> Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.
> There are other differences which are unfortunately not documented (for unknown reasons):
> * interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
> * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
> * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
> Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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


[jira] Commented: (WW-2757) Stacks defaultStack & paramsPrepareParamsStack are not synced

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46030#action_46030 ] 

Wes Wannemacher commented on WW-2757:
-------------------------------------

Musachy, didn't you move around some of the interceptors in struts-default.xml a while back? I vaguely remember this coming up and someone mentioning that it had been bugging them for a while.

> Stacks defaultStack & paramsPrepareParamsStack are not synced
> -------------------------------------------------------------
>
>                 Key: WW-2757
>                 URL: https://issues.apache.org/struts/browse/WW-2757
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Documentation, XML Configuration
>    Affects Versions: 2.0.11, 2.0.11.1, 2.0.11.2, 2.1.0, 2.1.1, 2.1.2
>            Reporter: Maxx
>            Priority: Minor
>             Fix For: Future
>
>
> Although told in the XML comment just above its definition in the struts-default.xml, the "paramsPrepareParamsStack" stack is not 100% based on the "defaultStack" stack with just an additional reference to the params interceptor.
> There are other differences which are unfortunately not documented (for unknown reasons):
> * interceptors "debugging", "profiling" and "scopedModelDriven" are removed between "chain" and "modelDriven"
> * no parameter set for second ref. to interceptor "params" - while for the defaultStack "params" has this: excludeParams = dojo\..*
> * the "excludeMethods" parameter of either "validation" or "workflow" interceptors is missing the additional "browse" value
> Additionally since Struts 2.1.x the interceptor "i18n" has been moved just above the first reference to "params". I suppose it's for proper internationalization support, but once again, this is not documented/explained.

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