webcal:// protocol doesn't work with proxy configured via 'Automatic proxy configuration URL'

NEW
Unassigned

Status

Calendar
Provider: ICS/WebDAV
10 years ago
9 years ago

People

(Reporter: Timwi, Unassigned)

Tracking

Details

Attachments

(1 attachment)

13.78 KB, text/plain
Details
(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: 

See STR

Reproducible: Always

Steps to Reproduce:
1. Put the attached ics file somewhere on a webserver
2. In Thunderbird with Lightning installed, choose Calendar => New calendar => On the network
3. Type the location of the ics file in the Location box, but with webcal:// instead of http:// in front, click Next, Next, Finish
4. Right-click the newly created calendar and choose "Reload Remote Calendars"
Actual Results:  
Error message:

[Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]"  nsresult: "0x804a0100 (<unknown>)"  location: "JS frame :: file:///C:/Dokumente%20und%20Einstellungen/ah01.CSR/Anwendungsdaten/Thunderbird/Profiles/gjfoz4ao.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calIcsParser.js :: ip_parseString :: line 58"  data: no]

Expected Results:  
No error.
(Reporter)

Comment 1

10 years ago
Created attachment 327598 [details]
Attachment
(Reporter)

Comment 2

10 years ago
P.S. Using Thunderbird version 2.0.0.14 (20080421), with newest version of Lightning just downloaded from http://www.mozilla.org/projects/calendar/lightning/
This belongs in Calendar, but I'm not sure if this is a Lightning-only problem or an ICS parser problem.

I'm guessing the latter; calendar folks are welcome to triage as they see fit. If incorrect, please move.
Component: General → Provider: ICS/Webdav
Product: Thunderbird → Calendar
QA Contact: general → ics-provider
WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16pre) Gecko/20080614 Lightning/0.9pre (2008062918) Thunderbird/2.0.0.16pre.
Summary: [Lightning] Error in parser → Error in parser
(In reply to comment #2)
Newest release version or newest nightly version? Please note the version and build ID as shown in the Add-ons dialog.
Attachment #327598 - Attachment mime type: application/octet-stream → text/plain
I can reproduce the issue using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17pre) Gecko/2008070720 Calendar/0.9pre when using a proxy.

No proxy or proxy configured via 'Manual proxy configuration':
  http://bugzilla.mozilla.org/attachment.cgi?id=327598     works
  https://bugzilla.mozilla.org/attachment.cgi?id=327598    works
  webcal://bugzilla.mozilla.org/attachment.cgi?id=327598   works
  webcals://bugzilla.mozilla.org/attachment.cgi?id=327598  works

Proxy configured via 'Automatic proxy configuration URL':
  http://bugzilla.mozilla.org/attachment.cgi?id=327598     works
  https://bugzilla.mozilla.org/attachment.cgi?id=327598    works
  webcal://bugzilla.mozilla.org/attachment.cgi?id=327598   fails
  webcals://bugzilla.mozilla.org/attachment.cgi?id=327598  fails

Error: [Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]"  nsresult: "0x804a0100 (<unknown>)"  location: "JS frame :: file:///[...]/js/calIcsParser.js :: ip_parseString :: line 58"  data: no]

Reporter, do you use a similar proxy setup? If yes switch to 'Manual proxy configuration' or just replace webcal:// with http:// in the URL.
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Error in parser → webcal:// protocol doesn't work with proxy configured via 'Automatic proxy configuration URL'
(Reporter)

Comment 7

10 years ago
Thanks a lot for your detailed analysis, Stefan. I can confirm your findings. The error occurs if I use automatic proxy configuration, but not if I use manual proxy settings or no proxy at all.
I believe this is fixed in 1.0pre, please confirm.
Still fails using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090621 Calendar/1.0pre.

When using manual proxy configuration or http URL it works.
When using automatic proxy configuration it 
 - fails when adding the calendar
 - works during application restart
 - fails when reloading the calendar

Error: rootComp is null
Source File: file:///D:/sunbird/calendar-js/calIcsParser.js Line: 82
You need to log in before you can comment on or make changes to this bug.