зеркало из https://github.com/mono/mail-archives.git
114 строки
4.8 KiB
HTML
114 строки
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 650394] New: DataRow.Delete() raises DataTable.RowDeleted when DataRowState.Detached
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20650394%5D%20New%3A%20DataRow.Delete%28%29%20raises%0A%20DataTable.RowDeleted%20when%20DataRowState.Detached&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="105678.html">
|
|
<LINK REL="Next" HREF="105680.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 650394] New: DataRow.Delete() raises DataTable.RowDeleted when DataRowState.Detached</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20650394%5D%20New%3A%20DataRow.Delete%28%29%20raises%0A%20DataTable.RowDeleted%20when%20DataRowState.Detached&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 650394] New: DataRow.Delete() raises DataTable.RowDeleted when DataRowState.Detached">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Sun Oct 31 12:57:09 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="105678.html">[Mono-bugs] [Bug 650391] New: DataSet.Clone doesn't clone some DataRelation and DataColumn properties
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105680.html">[Mono-bugs] [Bug 650397] New: DataRow.GetParentRows doesn't work with > 1 parent records
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#105679">[ date ]</a>
|
|
<a href="thread.html#105679">[ thread ]</a>
|
|
<a href="subject.html#105679">[ subject ]</a>
|
|
<a href="author.html#105679">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=650394">https://bugzilla.novell.com/show_bug.cgi?id=650394</A>
|
|
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=650394#c0">https://bugzilla.novell.com/show_bug.cgi?id=650394#c0</A>
|
|
|
|
|
|
Summary: DataRow.Delete() raises DataTable.RowDeleted when
|
|
DataRowState.Detached
|
|
Classification: Mono
|
|
Product: Mono: Class Libraries
|
|
Version: 2.6.x
|
|
Platform: x86
|
|
OS/Version: Windows 7
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: Sys.Data
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">cvolzke at live.com.au</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
Blocker: ---
|
|
|
|
|
|
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
|
|
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1036 Safari/532.5
|
|
|
|
DataRow.Delete() raises DataTable.RowDeleted when DataRowState.Detached
|
|
|
|
Reproducible: Always
|
|
|
|
Steps to Reproduce:
|
|
DataTable table = new DataTable();
|
|
DataRow row = table.NewRow();
|
|
bool rowDeletingRaised = false;
|
|
bool rowDeletedRaised = false;
|
|
table.RowDeleting += delegate { rowDeletingRaised = true; };
|
|
table.RowDeleted += delegate { rowDeletedRaised = true; };
|
|
row.Delete();
|
|
Debug.Assert(rowDeletingRaised == false);
|
|
Debug.Assert(rowDeletedRaised == false);
|
|
|
|
Actual Results:
|
|
RowDeleting and RowDeleted raised on row with DataRowState.Detached
|
|
|
|
Expected Results:
|
|
RowDeleting and RowDeleted should not be raised when DataRowState.Detached
|
|
|
|
--
|
|
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.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="105678.html">[Mono-bugs] [Bug 650391] New: DataSet.Clone doesn't clone some DataRelation and DataColumn properties
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105680.html">[Mono-bugs] [Bug 650397] New: DataRow.GetParentRows doesn't work with > 1 parent records
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#105679">[ date ]</a>
|
|
<a href="thread.html#105679">[ thread ]</a>
|
|
<a href="subject.html#105679">[ subject ]</a>
|
|
<a href="author.html#105679">[ 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>
|