[ 
https://issues.apache.org/jira/browse/TAPESTRY-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Gredler closed TAPESTRY-1702.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.6

Fixed in SVN, thanks for the patch. The final solution was a little bit 
different, in that I added new coercions for each of the specific primitive 
array types, rather than bolting the funtionality onto the Object -> List 
coercion. Take a look in SVN if you're interested in the details.

> Missing coercion from primitive arrays to List
> ----------------------------------------------
>
>                 Key: TAPESTRY-1702
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1702
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.0.5
>            Reporter: Davor Hrg
>            Assignee: Daniel Gredler
>            Priority: Critical
>             Fix For: 5.0.6
>
>         Attachments: TAPESTRY-1702.patch
>
>
> 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 ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to