[Mono-bugs] [Bug 579837] System.Configuration.Save() method throws an exception when trying to add an authorization section to an existing Web.config

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 3 05:20:50 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=579837

https://bugzilla.novell.com/show_bug.cgi?id=579837#c13


--- Comment #13 from QuickJack . <test051102 at hotmail.com> 2010-12-03 10:20:47 UTC ---
Hi Marek, Hi Miguel,

I've just tested the problem using Mono 2.8.1 and I am happy that my test case
now works without throwing an exception. The <authorization> section is added
with the correct <allow> rule. Thanks for fixing this bug.

However, there is still something wrong. If you try to add a <deny> rule by
changing line
"AuthorizationRule rule=new AuthorizationRule(AuthorizationRuleAction.Allow);"
to "AuthorizationRule rule=new
AuthorizationRule(AuthorizationRuleAction.Deny);"
Mono 2.8.1 will simply add an <allow> rule instead of the requested <deny>
rule.


Best regards,
Martin

-- 
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