зеркало из https://github.com/mono/mail-archives.git
95 строки
4.3 KiB
HTML
95 строки
4.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 469221] ObjectDataSourceView ExecuteSelect method return a Collection with zero elements if the select method returns a single instance
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20469221%5D%20ObjectDataSourceView%20ExecuteSelect%20method%0A%20return%20a%20Collection%20with%20zero%20elements%20if%20the%20select%20method%20returns%20a%0A%20single%20instance&In-Reply-To=bug-469221-28286%40https.bugzilla.novell.com/">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="087482.html">
|
|
<LINK REL="Next" HREF="087451.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 469221] ObjectDataSourceView ExecuteSelect method return a Collection with zero elements if the select method returns a single instance</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20469221%5D%20ObjectDataSourceView%20ExecuteSelect%20method%0A%20return%20a%20Collection%20with%20zero%20elements%20if%20the%20select%20method%20returns%20a%0A%20single%20instance&In-Reply-To=bug-469221-28286%40https.bugzilla.novell.com/"
|
|
TITLE="[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
|
|
</A><BR>
|
|
<I>Tue Mar 31 01:04:01 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="087482.html">[Mono-bugs] [Bug 490497] "watch for changes to web.config also in the subdirectories" causes problems
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087451.html">[Mono-bugs] [Bug 342533] Gmail server reports bad request when referer is set.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87450">[ date ]</a>
|
|
<a href="thread.html#87450">[ thread ]</a>
|
|
<a href="subject.html#87450">[ subject ]</a>
|
|
<a href="author.html#87450">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=469221">https://bugzilla.novell.com/show_bug.cgi?id=469221</A>
|
|
|
|
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">priojas at gmail.com</A> added comment
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=469221#c3">https://bugzilla.novell.com/show_bug.cgi?id=469221#c3</A>
|
|
|
|
|
|
|
|
|
|
|
|
--- Comment #3 from roy riojas <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">priojas at gmail.com</A>> 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...
|
|
<A HREF="http://royriojas.blogspot.com/2009/01/mono-formviewobjectdatasourceview-bug.html">http://royriojas.blogspot.com/2009/01/mono-formviewobjectdatasourceview-bug.html</A>
|
|
|
|
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="087482.html">[Mono-bugs] [Bug 490497] "watch for changes to web.config also in the subdirectories" causes problems
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087451.html">[Mono-bugs] [Bug 342533] Gmail server reports bad request when referer is set.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87450">[ date ]</a>
|
|
<a href="thread.html#87450">[ thread ]</a>
|
|
<a href="subject.html#87450">[ subject ]</a>
|
|
<a href="author.html#87450">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|