Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81849 --- shadow/81849 2007-06-10 12:18:10.000000000 -0400 +++ shadow/81849.tmp.21840 2007-06-10 12:18:10.000000000 -0400 @@ -0,0 +1,75 @@ +Bug#: 81849 +Product: Mono: Runtime +Version: unspecified +OS: +OS Details: Fedora 7 +Status: NEW +Resolution: +Severity: +Priority: Critical +Component: io-layer +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: IsolatedStorage not working properly. + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: +The IsolatedStorage does not work properly. + +Steps to reproduce the problem: +1-Create a Gtk# or a winforms application with a text and two buttons load +and save respectively, on the click event of the first put the code: + + isfStore = IsolatedStorageFile.GetUserStoreForDomain(); + + issFile = new IsolatedStorageFileStream("Teste.txt", +FileMode.OpenOrCreate, isfStore); + + strFile = new StreamReader(issFile); + + textview2.Buffer.Text = strFile.ReadToEnd(); + + strFile.Close(); + + issFile.Close(); + + isfStore.Close(); + +on the second: + + isfStore = IsolatedStorageFile.GetUserStoreForDomain(); + + issFile = new IsolatedStorageFileStream("Teste.txt", +FileMode.OpenOrCreate, isfStore); + + stwFile = new StreamWriter(issFile); + + stwFile.Write(textview2.Buffer.Text); + + stwFile.Close(); + + issFile.Close(); + + isfStore.Close(); +2-Write three line on textview and press save +3-Restart the application press load +4-Delete everything and press save +5-Restart the application and press load, note that everything is there +when it should not. + +Actual Results: +Load incorrect information as it should be deleted. + +Expected Results: +Write and load to isolatedstorage all changes. + +How often does this happen? +Everytime in this kind of situation. + +Additional Information: +As always I can send you a sample application in windows forms or gtk. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
