Closed Bug 439261 Opened 16 years ago Closed 16 years ago

Lightning cannot load from MacOS X 10.5.3/4 caldavd

Categories

(Calendar :: Provider: CalDAV, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fnjordy, Assigned: browning)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008060309 Firefox/3.0
Build Identifier: 2008061318

Latest update of MacOS X 10.5 server with a Ubuntu 8.04 client running Thunderbird version 2.0.0.14 (20080505) and Lightning (2008061318).

Lightning raises an error when loading or reloading configured CALDAV calendar.

Reproducible: Always

Actual Results:  
Error code:  0x804a0301
Description:

The resource at http://sapporo.hk.miru.hk:8008/calendars/groups/yorkion/calendar is either not a DAV collection or not available.


iCal on a MacOS X 10.5 client functions correctly.
Apple made some changes in the 10.5.3 CalendarServer that require Sunbird/Lightning to use slightly different calendar URLs. For user calendars the needed change is to replace /users/ with /__uids__/ (note two sequences of two underscores); I'm not sure what the equivalent change for group calendars would be, and don't have easy access to a 10.5.3 server at the moment for testing.
Flags: blocking-calendar0.9+
Does this means it's a server issue? Due to Apples changes all calendars just need to be recreated in Lightning using the URL format that is now used by the iCal server?
(In reply to comment #2)
> Does this means it's a server issue? Due to Apples changes all calendars just
> need to be recreated in Lightning using the URL format that is now used by the
> iCal server?
> 

That is certainly the case for calendars under the /calendars/users/ hierarchy: I saw/tested/verified this at CalConnect. I did not test calendars under /calendars/groups/ and currently don't have access to a 10.5.3 CalendarServer to test with. Looking at the CS code, it looks like reporter could make his calendar work by pointing Lightning at http://sapporo.hk.miru.hk:8008/calendars/__uids__/yorkion/calendar/ (i.e. replace /groups/ with /__uids__/ in the calendar URL). If that works I think we can close this bug.

The __uids__ form does not appear to work for groups.

After a few installs of Lightning with the latest 0.9pre nightly builds this appears to be more of an intermittent problem.

The Apple Wiki Calendar is making the same request to the /groups/ URL.
Update the recent 10.5.4 update seems to break the groups further.

With 10.5.3 I was seeing intermittent errors with 0.8 Lightning release, but these were resolved with the 0.9pre trunk build.  Now with the 10.5.4 I see no login errors, but I also see no calendar entries at all!
Summary: Lightning cannot load from MacOS X 10.5.3 caldavd → Lightning cannot load from MacOS X 10.5.3/4 caldavd
Assignee: nobody → browning
Bruno, were you able to reproduce this in the meantime?

Steve-o, since none of us seem to have access to a 10.5.4 CalendarServer thats running on a mac, is there any way you could temporarily provide me or Bruno with an account?

In any case, please enable calendar.debug.log and calendar.debug.log.verbose, then restart and check your error console for more verbose messages.

I'd really love to get this one off the blocker list!
Keywords: qawanted
Whiteboard: [needs patch]
I managed to get current CalendarServer SVN - which I would expect to work in this regard much like the CalendarServer shipped with Mac OS 10.5.4 - and have no trouble using a calendar with the URL 
http://localhost:8008/calendars/groups/group01/calendar/
with a current Sunbird nightly. So ... I'm wondering how reproduceable this is. 
eh ... typing too fast. meant that I had current svn running on a Linux box: should be similar to the Mac version (modulo directory differences). 
Running current nightly 0.9pre against a current SVN version on Mac Leopard WFM. Removing [needs-patch] until this is confirmed/reproducable.
Whiteboard: [needs patch]
Just updated to 2008-08-15 build and everything works fine.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Keywords: qawanted
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.