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

Missing coercion from primitive arrays to List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.5
    • 5.0.6
    • tapestry-ioc
    • 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

        1. TAPESTRY-1702.patch
          3 kB
          Davor Hrg

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: