Closed Bug 1295908 Opened 8 years ago Closed 7 years ago

Events can't be processed (e.g. imported) if UID contains a slash

Categories

(Calendar :: General, defect)

Lightning 4.7.2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 465853

People

(Reporter: hoolahoop, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160726073904

Steps to reproduce:

Using Thunderbird 45.2.0 with Lightning 4.7.2, Calendar on a Zimbra server via https.

Trying to import an ICS file generated by brighttalk.com (see attachments) via Menu item "Import".



Actual results:

Error message box saying "1 Einträge konnten nicht importiert werden. Die letzte Fehlermeldung war: 2147500037"

Translated: "1 entry couldn't be imported. The last error message was: 2147500037"

Corresponding error console entry:

Zeitstempel: 17.08.2016 09:21:51
Fehler: CalDAV: Unexpected status adding item to myaccount@somewhere.domain: 404
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20160125T215200Z
UID:https://www.brighttalk.com/webcast/12683/190157
SUMMARY:Live webcast: Service Desk Best Practices
ORGANIZER:mailto:noreply@brighttalk.com
DTSTART:20160913T180000Z
DTEND:20160913T190000Z
LOCATION:BrightTALK
URL:https://www.brighttalk.com/webcast/12683/190157?utm_campaign=add-to-ca
 lendar&utm_medium=calendar&utm_source=brighttalk-transact
DESCRIPTION:Click here to attend: https://www.brighttalk.com/webcast/12683
 /190157?utm_campaign=add-to-calendar&utm_medium=calendar&utm_source=bright
 talk-transact\n\nPresenter: Jeff Rumburg\, Managing Partner at MetricNet\n
 \nIn this webcast\, MetricNet will share the key success factors from the 
 industry's top performing Service Desks. Attendees will: \nHEAR how the in
 dustry's top performing Service Desks achieve world-class status. \nLEARN 
 key strategies for enhancing your Service Desk performance. \nAPPLY Best P
 ractices from your peers in the industry.
SEQUENCE:1471418444
END:VEVENT
END:VCALENDAR

Quelldatei: file:///C:/Users/myuser/AppData/Roaming/Thunderbird/Profiles/some.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js
Zeile: 699


Expected results:

Event should have been imported.
Attached file Event_190157-patcheduid.ics —
Workaround found:

Patched the UID to some RFC 822 content: webcast-12683-190157@brighttalk.com
(patched ICS file attached)

Result: Works!
Attachment #8781894 - Attachment mime type: text/calendar → text/plain
Attachment #8781895 - Attachment mime type: text/calendar → text/plain
Looks like this is a duplicate of bug 465853. Can you cross check this?
(In reply to [:MakeMyDay] from comment #2)
> Looks like this is a duplicate of bug 465853. Can you cross check this?

It's definitely not a duplicate, but it looks like both cases can be tracked down to a common root cause/bug, which is:

Events with a slash in the UID can't be processed by Lightning up to now!

The referenced bug however contains much information that (mistakenly) suggests that this was only a display issue and only related to Google calendars.

Looking at the standard, RFC 5545:
UID is of type TEXT, and in the corresponding section 3.3.11 I don't see any note that a slash wasn't allowed or must be escaped.
Summary: Import fails when using a URL as UID → Events can't be processed (e.g. imported) if UID contains a slash
Thanks for the report. If this has the same root cause, I think we can make due with a comment on the other bug on what is different. It was not a display issue, but Google incorrectly handling slashes and not finding the event, and us also not encoding correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: