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

JSONInterceptor must not populate value stack directly

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Important

    Description

      JSONInterceptor must populate value stack via OGNL to honor our exclusions!

      So according to my current quick view and understanding, I'm planning something like below which also resolves WW-3364: JSONInterceptor could be an extension of ModelDrivenInterceptor via some refactoring of both. From hereafter, JSONPopulator could be removed and JSONInterceptor must give population up to ParametersInterceptor. This simply could be achieved by something like pushing JSONInterceptor.root into top of stack and also moving posted json to http params (or if was impossible some refactoring of ParametersInterceptor).

      Please cast here any objections, votes or idea.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            yasserzamani Yasser Zamani

            Dates

              Created:
              Updated:

              Slack

                Issue deployment