Page linked on calendar holidays page serves invalid .ics calendars

VERIFIED FIXED

Status

--
minor
VERIFIED FIXED
12 years ago
12 years ago

People

(Reporter: ssitter, Assigned: sipaq)

Tracking

Details

(URL)

(Reporter)

Description

12 years ago
The Holiday site [http://www.mozilla.org/projects/calendar/holidays.html] contains a link to [http://www.apple.com/macosx/features/ical/library/nhlhockey.html].

Unfortunately the calendars hosted on that site doesn't work with Sunbird 0.3a2+. All you see is the 'There has been an error reading data ...' message.

We should link only to calendars that work with Sunbird/Lightning. 
Otherwise users might get a wrong impression.

Comment 1

12 years ago
Any idea what's wrong with those calendars?  UTF-8? Timezones? or just simple invalid ics?
(In reply to comment #1)
> Any idea what's wrong with those calendars?  UTF-8? Timezones? or just simple
> invalid ics?

All of them involve a 302 redirect...

MacBook:~ mwillis$ curl --head http://ical.mac.com/ical/Sharks.ics
HTTP/1.1 302 Found
Date: Sun, 13 Aug 2006 18:47:22 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: close
Server: Apache/1.3.33 (Darwin)
Location: http://homepage.mac.com/ical/.calendars/Sharks.ics
Via: 1.1 netcache10 (NetCache NetApp/5.5R6)


The 302 shouldn't cause any problems, but I included it for completeness.
Some of them (such as the Rangers and Maple Leafs calendars) return a 404 at the "final" location.

Others (such as the Sharks) resolve, and are using the wrong mime-type.

MacBook:~ mwillis$ curl --head http://homepage.mac.com/ical/.calendars/Sharks.ics
HTTP/1.1 200 OK
Age: 51073
Date: Sun, 13 Aug 2006 04:34:53 GMT
Content-Length: 2719
Content-Type: application/octet-stream
Cache-Control: public
x-responding-server: davhp09
Server: AppleDotMacServer
ETag: u-1g3s18hn-i0p-frqyi93pm-1qrqcczcvr0
Last-Modified: Thu, 15 Jun 2006 16:54:58 GMT
Via: 1.1 hpcache06 (NetCache NetApp/6.0.3)

(Reporter)

Comment 3

12 years ago
(In reply to comment #1)
We also fail after downloading and importing. From a look at one of the files it is because of the missing VTIMEZONE.
(Assignee)

Updated

12 years ago
Assignee: nobody → bugzilla
(Assignee)

Updated

12 years ago
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Summary: Holiday site links to calendars that don't work in Sunbird 0.3a2+ → Page linked on calendar holidays page serves invalid .ics calendars
(Assignee)

Comment 4

12 years ago
Checking in mozilla-org/html/projects/calendar/holidays.html;
/cvsroot/mozilla-org/html/projects/calendar/holidays.html,v  <--  holidays.html
new revision: 1.63; previous revision: 1.62
done

Comment 5

12 years ago
well, at least polish calendar is not valid

each item has daily recurrence (not yearly!)

I opened them and got error which confirms what i wrote:
Error: window.startDate has no properties
Source File: chrome://calendar/content/calendar-recurrence-dialog.js
Line: 86

besides one event starts in 2078, if I try to open it -> Sunbird crash and Feedback Agent is launched - should I report it as separete issue?

eg. SouthAfricaHolidays and seems to be ok

Comment 6

12 years ago
links to apple calendars were removed, polish one is not uptodate however format is vaild

so verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.