https://bugzilla.novell.com/show_bug.cgi?id=374516
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=374516#c8 --- Comment #8 from Andy Hume <[EMAIL PROTECTED]> 2008-08-14 08:12:50 MDT --- Created an attachment (id=233475) --> (https://bugzilla.novell.com/attachment.cgi?id=233475) Sample user.config file from the repro program Repro cases. Use culture de-DE -- which has ListSeparator=";". a) Reading -- no user.settings file. 1. Ensure that the user.settings file doesn't exist. The file is at ~/.local/share/Program/SettingsRectangle.exe_StrongName_2jmj7l5rSw0yVb/vlWAYkK/YBwk\=/user.config or similar. 2. Run the application. 3. Say Y to 'read'. Expect value {-1, 0, 0, 1}. 4. Say N to 'write'. b) Writing 1. Ensure that the user.settings file doesn't exist. 2. Run the application. 3. Say N to 'read'. 4. Say Y to 'write'. 5. Inspect the contents of the user.settings file. Ensure that the rectangle value uses commas and not semicolons. An example file is attached. An example section is: [[ <setting name="MyRectangle1" serializeAs="String"> <value> <value>3599, 20, 30, 2</value> </value> </setting> ]] c) Reading -- with user.settings file. 1. Ensure that the user.settings file exists. And the rectangle value therein uses commas -- as checked in case b), and like the attachment. 2. Run the application. 3. Say Y to 'read'. Expect value to match that in the file e.g. {N, 10, 20, 1}, where N is some integer. 4. Say N to 'write'. In 1.9 the cases all fail, respectively: a) With the Exception from comment 1 (TypeInitEx->Ex->FormatEx). b) Fails to write, since fails to read the input (exception from comment 1). c) As a). In 2.0 the cases all fail, respectively: a) With the Exception from comment 6 (NullRefEx). b) Writes the file but it uses the semicolon as the separator! c) As a). Of course if case c) reads the file produced by case b) it successful reads it -- semicolons!! -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
