Hi there,
The issue COMP-ISSUE-81 was just created by Mike Nichols (mnichols).
Key: COMP-ISSUE-81
Summary: DataBinder Generic List More Eager Collection
Type: Patch
Importance: High
Description:
Hydrating values from request parameters should add as many elements as
it can. Currently any empty ("") values in the params collection causes a
generic list .Add exception that prevents any values from getting added to the
list.
This patch corrects both indexed and non-indexed scenarios where these params:
myList[0]=1&myList[1]=2&myList[2]=&myList[3]=
and
myList=1&myList=2&myList=&myList=
will result in a List<int> or List<int?> with two items.
Tests included define the intent better too.
For more, see
http://support.castleproject.org/projects/COMP/issues/view/COMP-ISSUE-81
--
donjon
by Castle Stronghold
http://www.castle-donjon.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---