Closed Bug 368787 Opened 17 years ago Closed 17 years ago

Unable to import an ics file due to timezone id (TZID) formatting

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

Lightning 0.3
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 357252

People

(Reporter: ra.rochford, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy)
Build Identifier: Lightning 0.3 (build 2006100616) and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061006 Sunbird/0.3

My ics file has the following information (amongst other stuff)

TZID:Greenwich Mean Time - Dublin\, Edinburgh\, Lisbon\, London

DTSTART;TZID="Greenwich Mean Time - Dublin, Edinburgh, Lisbon, London":2007
 0131T210000


Reproducible: Always

Steps to Reproduce:
1. Import the ics file

Actual Results:  
Error number: 0x80004005
Description: [Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [calIIcalComponent.startTime]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
file:///home/robert/downloads/sunbird/js/calItemBase.js ::
anonymous :: line 514"  data: no]



Expected Results:  
Import correctly

If I edit the ics file and change the line

TZID:Greenwich Mean Time - Dublin\, Edinburgh\, Lisbon\, London

to

TZID:"Greenwich Mean Time - Dublin, Edinburgh, Lisbon, London"

it imports correctly.

I have no idea what the ics file format is like, but I assumed it was a problem with the escaping of the ',' which is why i tried making this change by hand.

I've marked it as a major feature because it means Lightning cannot import these calendar items, making it impossible to get email/calendar integration without downloading the file, editing it by hand and re-emailing it to myself.
Blocks: 356387
I've verified this to be the same problem as bug #356387.
Component: Import and Export → Provider: ICS/Webdav
Version: unspecified → Lightning 0.3
Whiteboard: [qa discussion needed]
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
No longer blocks: 356387
Whiteboard: [qa discussion needed]
You need to log in before you can comment on or make changes to this bug.