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

List of Boolean is not populated in Action class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.10.1
    • Fix Version/s: 2.5.16
    • Component/s: Core Actions
    • Labels:
      None

      Description

      In my application, a user sends a request with this parameter : selectedLines[xx]=true where xx is a number. Stuts 2 should convert this parameter into this property : List<Boolean> selectedLines in my action class. The lenght of the list equals xx+1 and the list looks like this [null,null,.....,true];

      Since I have upgraded Struts 2 to 2.5.10.1 From 2.3, that not works anymore if xx>256. The list is empty.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                Artemis Bouagal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: