Closed Bug 460234 Opened 16 years ago Closed 16 years ago

Sunbird fails to load a calendar if HTTP Auth is required

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows Vista
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4pre) Gecko/2008101505 GranParadiso/3.0.4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081015 Calendar/1.0pre

If the URL for a calendar requires a username/password, the calendar fails to load, spewing errors into the console:

Error: Cc[contractID] is undefined
Source File: file:///C:/Program%20Files/Calendar/components/nsLoginManager.js
Line: 112

Warning: There has been an error reading data for calendar: cal. Error code: ICS_NO_ERROR. Description: [Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]"  nsresult: "0x804a0100 (<unknown>)"  location: "JS frame :: file:///C:/Program%20Files/Calendar/components/calItemModule.js -> file:///C:/Program%20Files/Calendar/js/calIcsParser.js :: ip_parseString :: line 60"  data: no]

Reproducible: Always

Steps to Reproduce:
1. Add a calendar that requires HTTP Auth
2. Select File -> Reload Remote Calendars
Actual Results:  
Error messages spewed into the console, calendar doesn't load.

Expected Results:  
Calendar loads.
Is this a new regression? Did this worked in previous 1.0pre builds?

The error message seems to be the same as in Bug 451040. Maybe we need to ship that Firefox files too.
Flags: blocking-calendar1.0+
Confirmed. Seems to be fixed after adding file storage-mozStorage.js that will be added by Bug 459500.
Status: UNCONFIRMED → NEW
Component: Provider: ICS/WebDAV → Sunbird Only
Depends on: 459500
Ever confirmed: true
QA Contact: ics-provider → sunbird
Should be fixed by Bug 459500. Please retest with Sunbird build 20081017 or newer.
Works in Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081021 Calendar/1.0pre.
Fixed by Bug 459500. Verified by Comment #4.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.