Closed Bug 1717960 Opened 1 year ago Closed 1 year ago

CardDAV fails if the server can't be found when modifying cards

Categories

(MailNews Core :: Address Book, defect)

defect

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(2 files)

If you add/update/remove a contact in a CardDAV directory, the change is sent to the server immediately. If this request fails to reach the server for any reason, bad things happen. Added cards are never added to the server. Updated cards aren't even updated on the client. Removed cards return at the next sync (I think, not sure).

If an exception is thrown making a PUT or DELETE request, assume the server can't be reached and save the card to be updated/deleted for later.

Attachment #9229576 - Attachment description: WIP: Bug 1717960 - Improve CardDAV set-up logging. → Bug 1717960 - Improve CardDAV set-up logging. r=mkmelin
Attachment #9228706 - Attachment description: WIP: Bug 1717960 - If a CardDAV server is offline, send any changes when it's next online. → Bug 1717960 - If a CardDAV server is offline, send any changes when it's next online. r=mkmelin

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b697382ab7c4
Improve CardDAV set-up logging. r=mkmelin
https://hg.mozilla.org/comm-central/rev/750f69a39813
If a CardDAV server is offline, send any changes when it's next online. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c636865c5d86
Fix case-sensitive log level setting. rs=bustage-fix
You need to log in before you can comment on or make changes to this bug.