sync fails if modify both sides
Bug #1302152 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sync-monitor |
Fix Released
|
High
|
Renato Araujo Oliveira Filho | ||
address-book-service (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
- sync contacts with google
- find a contact that has an avatar for the contact picture
- login to google contacts in the browser
- open the contact in the address book
- from browser, add a phone number and save it
- in address book, for the same contact add an email address
- press save
multiple problems:
- when sync runs, the avatar disappears in the address book
- the changes are never synced to the server (neither side ever updates)
- the next change that you make on the client which causes a sync takes a very long time to sync. apparently this is because we do a "slow" sync after an error. Not sure that is correct.
- this error was never reported to the user.
Related branches
lp:~renatofilho/address-book-service/disable-folks-linking
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 839 lines (+171/-238)11 files modifiedCMakeLists.txt (+0/-6)
config.h.in (+1/-10)
contacts/contacts-service.cpp (+12/-9)
lib/addressbook.cpp (+2/-67)
lib/addressbook.h (+2/-13)
lib/qindividual.cpp (+102/-67)
lib/qindividual.h (+8/-4)
lib/update-contact-request.cpp (+35/-58)
lib/update-contact-request.h (+1/-1)
src/main.cpp (+5/-0)
tests/unittest/dummy-backend.cpp (+3/-3)
Changed in sync-monitor: | |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
importance: | Undecided → High |
Changed in sync-monitor: | |
status: | New → In Progress |
Changed in sync-monitor: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I fixed some problems with the server where some contacts details changes does not propagate to the UI. This should fix most of these problems.
But I am still facing the problem where the changes on the client overwrite the server data. For example:
1 - Add a phone number in the contact using the browser
2 - Add a email in the contact using the app
3 - Wait the sync
Result
The server get update with the new e-mail but the phone number disappear.
This probably is a problem in syncevolution I will try discuss that with patrick.