[Mono-dev] [PATCH] Fix for registration of controls from Web.config

Konstantin Triger kostat at mainsoft.com
Sun Feb 4 02:39:24 EST 2007


Hi Marek,

The Source property of the TagPrefixInfo is not a required attribute, so it cannot serve as a key.

Attached is a patch fixing that. Please review.

Regards,
Konstantin Triger
-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Marek Habersack
Sent: Friday, February 02, 2007 3:36 PM
To: Mono Development List
Subject: [Mono-dev] [PATCH] Fix for registration of controls from Web.config

Hello,

  The attached diff fixes bug http://bugzilla.ximian.com/show_bug.cgi?id=80532
by making the following changes:

 - TagPrefixCollection was not handling the control/namespace list properly
(only the last entry in the list was stored)
 - Control registration code for the <controls> element moved to internal
AspComponentFoundry class to avoid endless recursion, which was the cause of
the bug
 - Delay compilation of controls from web.config till the moment they are used.

please review, thanks

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TagPrefixCollection.patch
Type: application/octet-stream
Size: 719 bytes
Desc: TagPrefixCollection.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070203/42707598/attachment.obj 


More information about the Mono-devel-list mailing list