Closed
Bug 452214
Opened 17 years ago
Closed 17 years ago
CalDAV provider interop issues with newer CalendarServers
Categories
(Calendar :: Provider: CalDAV, defect)
Calendar
Provider: CalDAV
Tracking
(Not tracked)
RESOLVED
FIXED
0.9
People
(Reporter: browning, Assigned: browning)
Details
Attachments
(2 files, 2 obsolete files)
13.56 KB,
patch
|
Details | Diff | Splinter Review | |
10.70 KB,
patch
|
Details | Diff | Splinter Review |
Apple has made some changes in newer versions of its CalendarServer (in Mac OS 10.5.3 and higher) that introduce incompatibilities with our bootstrapping/discovery code. Fortunately they've also added a <D:owner> property to calendar resources that we can use to make bootstrapping both faster and more reliable if we find it. This patch does that.
Tested against current and older CalendarServer, current DAViCal and Bedework, and working. Also tested against SOGo, which it breaks since SOGo apparently does not yet support this particular PROPFIND against the principal-URL. So, WIP patch for now, but I'd really like to see this in 0.9: we don't want to release without good Apple interop.
I haven't tested against Google, but if Google supports both the <owner> prop and the principal-URL PROPFIND we may be able to remove some of the Google special-casing.
Flags: wanted-calendar0.9?
Assignee | ||
Comment 1•17 years ago
|
||
Google does provide the <owner> property, so we could remove some of the special-casing. But Google does not support OPTIONS, so we'd need to leave some of the special-casing in - and if we're going to do all that we might as well leave it all in and save a query. Let's hope they fix the OPTIONS bit soon.
Updated•17 years ago
|
Flags: wanted-calendar0.9? → blocking-calendar0.9+
Assignee | ||
Comment 2•17 years ago
|
||
This changes the Google specialcasing to make Google follow the same codepath at other servers, and also adds specialcasing for a SOGo bug. I don't know how quickly the SOGo bug will be fixed, nor whether this workaround will work with the SOGo version that just went RC, so I'm not requesting review yet. Comments welcome.
Attachment #335513 -
Attachment is obsolete: true
Updated•17 years ago
|
Assignee: nobody → browning
Whiteboard: [patch in hand]
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 3•17 years ago
|
||
What is the status here? How can we proceed? We really want to pack things up code-wise this week for 0.9 RC1.
Assignee | ||
Comment 4•17 years ago
|
||
(In reply to comment #3)
> What is the status here? How can we proceed? We really want to pack things up
> code-wise this week for 0.9 RC1.
I think that the patch is okay as-is (though I'd probably remove the word "icky"). From irc conversation with Wolfgang I believe that the issue that requires the SOGo workaround is a SOGo bug; I have not been able to test that we still work with their new RC version using this patch, but since the workaround is essentially to ignore the SOGo <owner> prop and revert to previous behavior it should be fine. Will request review from Fallen since he did the original Google workaround.
Assignee | ||
Updated•17 years ago
|
Attachment #335867 -
Flags: review?(philipp)
Updated•17 years ago
|
Whiteboard: [patch in hand] → [patch in hand] [needs review]
Comment 5•17 years ago
|
||
(In reply to comment #4)
Bruno,
You can remove that work-around. I will fix SOGo so that it behaves properly.
The bug is still present in RC8 but as I will fix my patch for the CalDAV caching, I will also fix that in SOGo trunk.
Assignee | ||
Comment 6•17 years ago
|
||
(In reply to comment #5)
> You can remove that work-around. I will fix SOGo so that it behaves properly.
> The bug is still present in RC8 but as I will fix my patch for the CalDAV
> caching, I will also fix that in SOGo trunk.
Thanks, Wolfgang. If we remove the workaround, will that not break interop with your installed base? I wonder if we wouldn't be better changing the comment to read that it's for purposes of interop with older versions of SOGo and can be removed when SOGo version ?.? is a fond memory.
Updated•17 years ago
|
Attachment #335867 -
Flags: review?(philipp) → review+
Comment 7•17 years ago
|
||
Comment on attachment 335867 [details] [diff] [review]
change Google specialcasing, add specialcasing for SOGo
>+ var queryXml;
>+ if (this.mPrincipalUrl) {
...
>+ if (this.mPrincipalUrl) {
>+ httpchannel.requestMethod = "PROPFIND";
>+ httpchannel.setRequestHeader("Depth", "0", false);
I think it would be more clear if you swap the code lines around a bit so that setting the request method is in the same if() block with setting the query xml.
r=philipp codewise
Updated•17 years ago
|
Keywords: checkin-needed
Whiteboard: [patch in hand] [needs review] → [patch in hand] [needs checkin]
Assignee | ||
Comment 8•17 years ago
|
||
I'm not sure what the disposition is going to be wrt the patch in 437316, so I'll post the final version of this in two forms, relative to trees both before and after that patch was applied. Patch is debitrotted, addresses Philipp's concerns about clarity, and a milder comment about the SOGo workaround.
Attachment #335867 -
Attachment is obsolete: true
Assignee | ||
Comment 9•17 years ago
|
||
Comment 10•17 years ago
|
||
We decided to rather fix the issues from bug 437318 than back out.
Checked in on HEAD and MOZILLA_1_8_BRANCH and SUNBIRD_0_9_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 0.9
Updated•17 years ago
|
Whiteboard: [patch in hand] [needs checkin]
You need to log in
before you can comment on or make changes to this bug.
Description
•