[Mono-bugs] [Bug 439943] New: Reading StringCollection from user.config returns null
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Oct 29 13:38:55 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=439943
Summary: Reading StringCollection from user.config returns null
Product: Mono: Runtime
Version: 2.0
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Critical
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: slawko70 at poczta.onet.pl
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Reading StringCollection from user.config returns null.
File user.config is created by save() method from new class derived from
System.Configuration.ApplicationSettingsBase class.
After my application saves settings, the user.config is OK (all parameters are
serialized to xml).
When my application reads settings the
System.Collections.Specialized.StringCollection parameters are always null (or
if were default values of parameters are returning StringCollections only with
this default values).
for example one of my System.Collections.Specialized.StringCollection
parameters (MruList) from my local user.config file:
<setting name="MruList" serializeAs="Xml">
<value>
<value>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<string>test1.txt</string>
<string>test2.txt</string>
<string>test3.txt</string>
</ArrayOfString>
</value>
</value>
</setting>
--
Configure bugmail: https://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