https://bugzilla.novell.com/show_bug.cgi?id=658184
https://bugzilla.novell.com/show_bug.cgi?id=658184#c0 Summary: System.Configuration.Save() still not working in Mono 2.8.1 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: [email protected] ReportedBy: [email protected] QAContact: [email protected] 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:1.9.2.12) 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"?> <configuration> <appSettings /> <connectionStrings /> <system.web> <authorization> <allow users="me" /> </authorization> <authentication mode="Windows" /> </system.web> </configuration> Expected Results: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings /> <connectionStrings /> <system.web> <authorization> <deny users="me" /> </authorization> <authentication mode="Windows" /> </system.web> </configuration> 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
