Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2757

Stacks defaultStack & paramsPrepareParamsStack are not synced

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maxxyme maxxyme
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: