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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5, 2.5.8
    • 2.5.12
    • Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: