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

Parameters interceptor excludes parameters having space in their names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.11.2
    • 2.1.3
    • None
    • None
    • Windows XP / jdk1.5.0_15

    • Important

    Description

      The ONGL expressions do not set values correctly into Map and Properties. If the parameter names have space in them, the

      {paramName,paramValue}

      pair
      is ignored and not populated in the Map/Properties instance in action.

      For example :

      In AbcAction has a java.util.Properties instance by name "settings".
      So a request parameter of form

      settings["Test Parameter Name"] = 1

      should result in the follwing entry in AbcAction.settings

      {"Test Parameter Name" , "1"}

      This doesnt seem to work in the upgarde and needs to be addressed.

      Attachments

        Activity

          People

            musachy Musachy Barroso
            girish.kamat Girish Kamath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: