[Mono-bugs] [Bug 658184] New: System.Configuration.Save() still not working in Mono 2.8.1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 8 03:37:24 EST 2010



           Summary: System.Configuration.Save() still not working in Mono
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: test051102 at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=403901)
 --> (http://bugzilla.novell.com/attachment.cgi?id=403901)
Test Project

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:
Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)

When trying to add a deny rule to the local web.config file Mono 2.8.1 adds an
allow rule instead.

Reproducible: Always

Steps to Reproduce:
1. Open the provided test project
2. Run the test project via MonoDevelop (I used Suse 11.2)
3. Take a look at the contents of the web.config file
Actual Results:  
<?xml version="1.0" encoding="utf-8"?>
   <appSettings />
   <connectionStrings />
         <allow users="me" />
   <authentication mode="Windows" />

Expected Results:  
<?xml version="1.0" encoding="utf-8"?>
   <appSettings />
   <connectionStrings />
         <deny users="me" />
   <authentication mode="Windows" />

In bug #579837 I reported a problem that caused the System.Configuration.Save()
method to throw an exception when trying to add a rule to the web.config file.
This has been fixed partly in Mono 2.8.1. My provided test case for bug #579837
is working without problems. However, when changing the added rule in the
example from AuthorizationRuleAction.Allow to AuthorizationRuleAction.Deny,
Mono will still add an allow rule.

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