You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Davor Hrg (JIRA)" <de...@tapestry.apache.org> on 2007/08/10 23:15:42 UTC
[jira] Updated: (TAPESTRY-1702) int[] not coerced into
List
[ https://issues.apache.org/jira/browse/TAPESTRY-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davor Hrg updated TAPESTRY-1702:
--------------------------------
Attachment: TAPESTRY-1702.patch
patch
test that causes failure ,
proposed fix
> int[] not coerced into List<Integer>
> ------------------------------------
>
> 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
> Priority: Critical
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org