[Mono-dev] Bug in ConfigurationSection.cs
james.fitzsimons at gmail.com
Thu Aug 16 17:47:36 EDT 2007
FYI I've created a new bug in bugzilla on this issue.
On 8/16/07, James Fitzsimons <james.fitzsimons at gmail.com> wrote:
> Hi all,
> While trying to get Spring.NET working on mono I've discovered a bug in
> the mono implementation of ConfigurationSection. The documentation
> states that the parameters for a call to the Create method on
> IConfigurationSectionHandler look like this:
> The configuration settings in a corresponding parent
> configuration section.
> An HttpConfigurationContext when Create is called from the
> ASP.NET configuration system. Otherwise, this parameter is
> reserved and is a null reference (Nothing in Visual Basic).
> The XmlNode that contains the configuration information from the
> configuration file. Provides direct access to the XML contents
> of the configuration section.
> The problem with the mono implementation of ConfigurationSection is that
> it doesn't honour the requirements for the configContext parameter.
> The problem is line 73 of ConfigurationSection.cs where the
> SectionHandler.Create method is called with a null argument for
> configContext regardless of whether it is being executed from with
> ASP.NET or not.
> I've attached a simple test case that will load a blank page when run on
> the MS .NET runtime, but will throw an exception when run on Mono.
> Looking forward to a patch (hopefully not too late for 1.2.5)!
> Thanks and regards,
> James Fitzsimons
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list