[Mono-bugs] [Bug 492831] New: System.Configuration: Application Scope settings are saved in user.config

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 7 09:11:17 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=492831


           Summary: System.Configuration: Application Scope settings are
                    saved in user.config
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: prince0 at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=284486)
 --> (http://bugzilla.novell.com/attachment.cgi?id=284486)
Sample application

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.8)
Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)

When using System.Configuration.ApplicationSettingsBase.Save() it should save
ONLY User Scope settings (only keys that are in userSettings). Unfortunately,
it saves also Application Scope settings in userSettings section which raises
key duplication exception.
Microsoft .Net stores in user.config only user scope settings.


Reproducible: Always

Steps to Reproduce:
Add a user setting and an application setting.
Modify user settings.

Call Settings.Default.Save().
Actual Results:  
User settings and application settings are saved

Expected Results:  
Only user settings must be saved

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list