[Mono-bugs] [Bug 486396] New: AddinManager.AddExtensionNodeHandler fires events on previously registered handlers as well
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Mar 18 07:39:42 EDT 2009
https://bugzilla.novell.com/show_bug.cgi?id=486396
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: lluis at novell.com
ReportedBy: tschoel at web.de
QAContact: mono-bugs at lists.ximian.com
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
"be called for all nodes existing in the path at the moment of registration".
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: 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