Closed Bug 348535 Opened 18 years ago Closed 18 years ago

Page linked on calendar holidays page serves invalid .ics calendars

Categories

(Calendar :: Website, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: sipaq)

References

()

Details

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.
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)

(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: nobody → bugzilla
Status: NEW → RESOLVED
Closed: 18 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
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
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
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.