Addressbook CardDav sync from Google duplicates modified addresses
Categories
(MailNews Core :: Address Book, defect)
Tracking
(thunderbird_esr78+ fixed, thunderbird89 fixed)
People
(Reporter: tony, Assigned: darktrojan)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
12.48 KB,
patch
|
darktrojan
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
Using a CardDav Google adressbook.
Modifying a simple contact on the serverside (through google contacts in browser), I modified the firstname and the lastname.
This simple contact consists of o firstname and a lastname only.
Hitting synchronize (right-click on addressbook and select synchronize).
Using thunderbird beta 88.0b3 on windows10 pro.
Actual results:
The addressbook entry in thunderbird was duplicated.
Both the old version and the new version are visible.
When I deleted either one, both disapear, also from the serverside.
Expected results:
Only the modified version of the contact should be visible in thunderbird. No duplication!
( Modifications in thunderbird sync to the server works fine, produce no duplicates. )
Assignee | ||
Comment 1•3 years ago
|
||
This might be a duplication in the display rather than of the contact itself. What happens if you close and reopen the address book window?
I restarted Thunderbird, re-synchronized by right-click-synchronize on the addressbook, but things do not get better.
Currently, the contact list in thunderbird does not match the one in gmail-contacts,
Modifying an existing one in gmail-contacts lead to the appearance the modified one in thunderbird with the original one still visible.
Sorry, but this does not work at all.
Assignee | ||
Comment 3•3 years ago
|
||
Aha!, I did something different and I can see the problem now.
Assignee | ||
Comment 4•3 years ago
|
||
Before this patch, if the server changed a card's UID when it arrived, we continued to use the old UID. This caused problems when updating cards.
Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4700ee58d4e2
Correctly store a card if the CardDAV server changes the UID. r=mkmelin
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Comment on attachment 9220010 [details]
Bug 1707569 - Correctly store a card if the CardDAV server changes the UID. r?mkmelin
[Approval Request Comment]
Regression caused by (bug #): never worked as intended
User impact if declined: address book gets confused about new contacts for some server behaviour (Google at least)
Testing completed (on c-c, etc.): just landed, I'd like it on Daily for a week or so before beta
Risk to taking this patch (and alternatives if risky): I think it's low risk
Assignee | ||
Comment 7•3 years ago
|
||
Thanks for reporting this, Sjoko.
Comment 8•3 years ago
|
||
Comment on attachment 9220010 [details]
Bug 1707569 - Correctly store a card if the CardDAV server changes the UID. r?mkmelin
[Triage Comment]
Approved for beta ... which will happen ~mid-week
Comment 9•3 years ago
|
||
bugherder uplift |
Thunderbird 89.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/8e9895e52538
Comment 10•3 years ago
|
||
backout bugherder uplift |
Thunderbird 89.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/e4541b3bc452
Comment 11•3 years ago
|
||
bugherder uplift |
Thunderbird 89.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/76e381a64fa4
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Uplift to 78 I suppose?
Assignee | ||
Comment 13•3 years ago
|
||
Comment on attachment 9220010 [details]
Bug 1707569 - Correctly store a card if the CardDAV server changes the UID. r?mkmelin
Yeah, alright.
[Approval Request Comment]
Regression caused by (bug #): never worked as intended
User impact if declined: address book gets confused about new contacts for some server behaviour (Google at least)
Testing completed (on c-c, etc.): in beta 4
Risk to taking this patch (and alternatives if risky): I think it's low risk
Comment 14•3 years ago
|
||
Comment on attachment 9220010 [details]
Bug 1707569 - Correctly store a card if the CardDAV server changes the UID. r?mkmelin
[Triage Comment]
Approved for esr78
Comment 15•3 years ago
|
||
Comment on attachment 9220010 [details]
Bug 1707569 - Correctly store a card if the CardDAV server changes the UID. r?mkmelin
CardDAVServer.jsm on esr78 is quite a bit older than beta, so this didn't merge right.
Specifically, isRealDirectory from bug 1692279 is missing, but so is every other change in between.
Assignee | ||
Comment 16•3 years ago
|
||
Here's a version for 78. Bug 1695592 should get uplifted (ahead of this) but not the others because they're too complicated.
Comment 17•3 years ago
|
||
bugherder uplift |
Thunderbird 78.11.0:
https://hg.mozilla.org/releases/comm-esr78/rev/07e12d832621
Description
•