Closed Bug 329371 Opened 19 years ago Closed 19 years ago

Lightning fails to create new ICS file

Categories

(Calendar :: Lightning Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 329373

People

(Reporter: gekacheka, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Lightning 20060303, Thunderbird 1.5 20051201 Lightning does not create a new ics file. It does not alert the user that creation has failed, and the calendar name appears in the list of calendars, but no file appears in the file system, and events created in the new ics calendar don't appear. Sunbird succeeds for this same operation. Lightning does succeed in opening and adding to an existing ics file. Reproducible: Always Steps to Reproduce: 1. Lightning: calendars tab, new calendar 2. select "(*) remote", click "next" 3. enter nonexisting file url, such as "file:///c:/temp/icsTest345.ics", click next 4. click next (keep name) 5. click finish (dismiss dialog) 6. click checkmark next to calendar "icsTest345", so calendar is selected and visible. 7. create event, say by dragging region in day view. 8. create todo. Actual Results: After step 4: 4a. "Your calendar has been created" in dialog 4b. "icsTest45" appears in in calendar list 4c. Error appears in javascript console: Error: loader.request has no properties Source File: file:///C:/Documents%20and%20Settings/caroma/Application%20Data/Thunderbird/Profiles/default/3gm4qso4.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendar.js Line: 184 After step 7 (dragging region in day view): event disappears, does not appear in day view. (if created in 'home' calendar, does appear) After step 8 (creating todo): todo does not appear in todo list. (if created in 'home' calendar, does appear) Expected Results: After step 4. If there was an error, it should report error to user, and probably should not show calendar in calendar list (since can't add anything to it). But expect no error. After step 7 (dragging region in day view): event appears in dragged region, just as it does if home is selected calendar. After step 8 (creating todo): todo appears in todo list, just as it does if home is selected calendar. Error occurs in calICSCalendar.onStreamComplete http://lxr.mozilla.org/mozilla/source/calendar/providers/ics/calICSCalendar.js#178 loader.request is null (evaluated "loader.request" after stopped in venkman; the venkman stack browser doesn't show any properties, maybe because it is not a javascript object) The nsIStreamLoader.request property may be "null after the request has finished loading" http://www.xulplanet.com/references/xpcomref/ifaces/nsIStreamLoader.html This explains why the error is thrown, but not why it doesn't appear in sunbird.
*** This bug has been marked as a duplicate of 329373 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.