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

Array-of-null parameters are converted to arrays containing "null"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5, 2.5.8
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      The org.apache.struts2.dispatcher.Parameter.Request class (added in Struts 2.5.3) incorrectly handles arrays containing null; it converts them to arrays containing the string "null" (using String.valueOf).

      This is breaking one of our applications; some pages are OK, but on other pages, every non-provided field is populated with "null".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thrawnca Mitth'raw'nuruodo
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: