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

https://bugzilla.novell.com/show_bug.cgi?id=658184#c3


--- Comment #3 from QuickJack . <[email protected]> 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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to