Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1702

Missing coercion from primitive arrays to List

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.6
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      int[] does not get not coerced into List of Integers.

      int[] value gets recognized as an object, not an Object[] which is true for all primitive type arrays.

      even if it goes to Object[] -> List coercer the code there: Arrays.asList will create an
      list containing the array, instead containing the values from the array.

      I've noticed this issue when supplying int[] to loop component ....

        Attachments

          Activity

            People

            • Assignee:
              sdanig Daniel Gredler
              Reporter:
              hrgdavor Davor Hrg
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: