mail-archives/mono-bugs/2009-March/087181.html

130 строки
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 486396] New: AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20486396%5D%20New%3A%20AddinManager.AddExtensionNodeHandler%0A%20fires%20events%20on%20previously%20registered%20handlers%20as%20well&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="087180.html">
<LINK REL="Next" HREF="087183.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 486396] New: AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20486396%5D%20New%3A%20AddinManager.AddExtensionNodeHandler%0A%20fires%20events%20on%20previously%20registered%20handlers%20as%20well&In-Reply-To="
TITLE="[Mono-bugs] [Bug 486396] New: AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well">bugzilla_noreply at novell.com
</A><BR>
<I>Wed Mar 18 07:39:42 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="087180.html">[Mono-bugs] [Bug 486385] New: [PATCH] Add Label support
</A></li>
<LI>Next message: <A HREF="087183.html">[Mono-bugs] [Bug 486396] AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87181">[ date ]</a>
<a href="thread.html#87181">[ thread ]</a>
<a href="subject.html#87181">[ subject ]</a>
<a href="author.html#87181">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=486396">https://bugzilla.novell.com/show_bug.cgi?id=486396</A>
Summary: AddinManager.AddExtensionNodeHandler fires events on
previously registered handlers as well
Classification: Mono
Product: Mono: Class Libraries
Version: 1.9
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Mono.Addins
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lluis at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">tschoel at web.de</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.7)
Gecko/2009030422 Ubuntu/8.10 (intrepid) Firefox/3.0.7
A handler registered with AddinManager.AddExtensionNodeHandler is supposed to
&quot;be called for all nodes existing in the path at the moment of registration&quot;.
This happens indeed, yet a handler registered before for the same path will be
called as well, thus being called for a second time. This is not the behaviour
specified by the contract.
Reproducible: Always
Steps to Reproduce:
1. Add a handler for some path with AddinManager.AddExtensionNodeHandler.
2. Add a second handler for the same path.
3. Observe the first handler being called for each node again on registration
of the second handler
Actual Results:
Registration of the second handler makes the first handler be called again for
each node.
Expected Results:
Only the newly registered handler schould be called once for each node.
--
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="087180.html">[Mono-bugs] [Bug 486385] New: [PATCH] Add Label support
</A></li>
<LI>Next message: <A HREF="087183.html">[Mono-bugs] [Bug 486396] AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87181">[ date ]</a>
<a href="thread.html#87181">[ thread ]</a>
<a href="subject.html#87181">[ subject ]</a>
<a href="author.html#87181">[ 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>