Closed
Bug 123588
Opened 23 years ago
Closed 23 years ago
Not saving event data
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: xyzzy, Assigned: mostafah)
Details
(Keywords: dataloss)
Have current XPI installed: 1. Create test event in Calendar. Hit OK, not Cancel. 2. Event displays in current view. 3. Exit Calendar While the file CalendarDataFile.txt exists, nothing has been written to it. The next time the Calendar is started, the view is empty. No data was saved.
Comment 1•23 years ago
|
||
Are there any JS errors in the console?
When starting from the Tasks Menu: Warning: test for equality (==) mistyped as assignment (=)? Source File: chrome://communicator/content/tasksOverlay.js Line: 225, Column: 30 Source Code: while (sep = sep.nextSibling) { Otherwise, no.
Keywords: dataloss
I'm seeing this problem also. Win95 running the Mozilla 0.98 release version, installing Calendar via the XPI from Feb. 5, 2002. Additional symptoms of the same problem: 1. You don't have to close and reopen the calendar. Use the Reload entry in the context menu, and watch the event disappear. 2. Create a repeating event. Only the first occurence shows up in the month view. And even that one disappears upon Reload or upon closing/opening the Calendar.
Comment 4•23 years ago
|
||
I see it as well: Mozilla 0.9.8 XPI from 10 Feb
Comment 5•23 years ago
|
||
Same here. Win98 (4.10.1998), 0.9.8 milestone, and I grabbed the XPI on Friday (11 Feb) around 11pm -0500. Combined to this was a crash taking all of Mozilla down (probably from bug 123772).
Comment 6•23 years ago
|
||
Sorry, that should be Feb 9, not 11.
Comment 7•23 years ago
|
||
I wonder if it's perhaps a permission problem on the file? I don't see this on Linux at all. Without any JS errors in the console, this will be tough to track down. I'll need the help of people who can reproduce the bug to track it down and fix it.
Comment 8•23 years ago
|
||
Mike I'd be happy to help in anyway I can - just let me know. I do get a JS error when I start up the Calendar: Error: uncaught exception: [Exception... "Could not convert JavaScript argument (NULL value cannot be used for a C++ reference type) arg 0 [nsISupports.QueryInterface]" nsresult: "0x8057000b (NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF)" location: "JS frame :: chrome://cookie/content/cookieTasksOverlay.xul :: TestIconVisibility :: line 52" data: no] Also a warning (x2): Warning: reference to undefined property Components.interfaces.nsICookieService Source File: chrome://cookie/content/cookieTasksOverlay.xul Line: 52 The CalendarDataFile.txt file is created at the top level of my profile directory and it is not 'read only'.
I'll do whatever I can to help with the troubleshooting on this. In the meantime, more observations on the CalendarDataFile.txt file: (I don't use "Turbo" mode, so when I restart Mozilla it should theoretically be a complete restart) <ol> <li>The data file exists: it's located at C:\Windows\Mozilla\Profiles\...\...\CalendarDataFile.txt <li>If I open the Calendar in Mozilla, add an event, and close the Calendar: the file has not been updated. Its timestamp and contents are unchanged. Upon restarting the Calendar, the newly created event is not there. <li>If I close Mozilla, delete CalendarDataFile.txt, restart Mozilla, and start the Calendar: a new CalendarDataFile.txt file is created. It's an empty file with a new timestamp. The new file's behaviour is the same -- new events are not saved and the file does not get updated. <li>If I close Mozilla, replace CalendarDataFile.txt with a sample VCalendar file, restart Mozilla, and start the Calendar: the existing events from the sample file show up correctly in the Calendar. But the behaviour is still the same -- new events are not saved and the file does not get updated. </ol> I get no JavaScript console error messages. And I honestly don't see how file permissions could be involved on my Windows95 box. <p> I'll confess that I haven't used the Calendar before, and since I haven't seen any documentation I don't know if I'm missing something. Is there something I'm supposed to be doing in order to save my changes to CalendarDataFile.txt before I close the Calendar? <p> BTW, I can NOT reproduce my findings from Comment #3 regarding repeating events. (Maybe I was on an earlier Mozilla version when I saw that?)
Comment 10•23 years ago
|
||
OK, Mostafa is working on this bug right now. I'm pretty sure that we'll have figured it out by the end of this week. I'm reassinging this bug to him, he can close it when he's done. It only happened when we changed the location of the calendar data file.
Assignee: mikep → mostafah
Comment 11•23 years ago
|
||
This bug is fixed with the latest XPI available now.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 12•23 years ago
|
||
After working with Mike Potter, I can confirm that this is now working correctly for me. However, the XPI did not automatically update the necessary files on my PC. I had to manually delete the following files from my Mozilla directory: libical*.dll components\xpical.dll After this step, the XPI re-install worked perfectly. Thanks again, guys!
Comment 14•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: colint → general
You need to log in
before you can comment on or make changes to this bug.
Description
•