EBookBackendFile: Don't overwrite UIDs on incomming/new contacts.
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 18 Jan 2013 06:53:46 +0000 (15:53 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Tue, 22 Jan 2013 06:15:42 +0000 (15:15 +0900)
commitfad466cffdbf51cc3718a9a738706703c06527dd
tree9d10c4d608a3339dc1cb9ca238981443730b0fba
parente51f21579c7839b6c3e15a0685c5ec37e8298fff
EBookBackendFile: Don't overwrite UIDs on incomming/new contacts.

  o Only assign a generated UID if the new contact does not have any
  o If the UID already exists in the SQLite at creation time, then
    report an E_DATA_BOOK_STATUS_CONTACTID_ALREADY_EXISTS error.
addressbook/backends/file/e-book-backend-file.c