[Mono-bugs] [Bug 469221] ObjectDataSourceView ExecuteSelect method return a Collection with zero elements if the select method returns a single instance

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 31 01:04:01 EDT 2009


User priojas at gmail.com added comment

--- Comment #3 from roy riojas <priojas at gmail.com>  2009-03-30 23:04:00 MDT ---
I think in MONO 2.4 the bug has fixed parcially I found under some
circunstances this validation is still needed

if (result is IEnumerable)  
 return (IEnumerable) result;  
return (result != null)?  new object [] { result } : new object[] {};  

as you can see here...

I will try to provide you with the self-contained test case, sorry by the
delay, the notification email went to my spam folder.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list