[Mono-bugs] [Bug 658184] System.Configuration.Save() still not working in Mono 2.8.1
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Mar 29 15:27:30 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=658184
https://bugzilla.novell.com/show_bug.cgi?id=658184#c3
--- Comment #3 from QuickJack . <test051102 at hotmail.com> 2011-03-29 19:27:28 UTC ---
Unfortunately, my previous solution produces an error during compilation
because of a missing type cast. The line should read:
this.Action=((AuthorizationRule)sourceElement).Action;
The corrected method looks as follows:
protected internal override void Unmerge (ConfigurationElement sourceElement,
ConfigurationElement parentElement, ConfigurationSaveMode saveMode)
{
base.Unmerge (sourceElement, parentElement, saveMode);
this.Action = ((AuthorizationRule)sourceElement).Action;//take care of the
action attribute!
this.saveMode = saveMode;
}
I have tested this changed method against my provided test project and it's
working as expected.
Could somebody please take a look into this and update the sources in github?
It's an easy to fix bug in System.Web.dll!
--
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