Contact failed detail constraints
Hello,
I'm facing an error with contacts that I can't diagnose.
External symptoms:
Contacts application does not allow editing or deleting contacts. Attempt to change anything in any contact does not result in any change, and opening any contact after shows it's empty, until /usr/bin/jolla-contacts is killed via terminal and started again.
Internal symptoms:
Killing and starting via terminal '/usr/bin/contactsd --log-console' showed the following (entries that seem normal are omitted):
... [W] unknown:0 - virtual bool QtContactsSqliteExtensions::TwoWayContactSyncAdapter::determineLocalChanges(QDateTime*, QList<qtcontacts::qcontact>*, QList<qtcontacts::qcontact>*, QList<qtcontacts::qcontact>*, const QString&, const QSet<qtcontacts::qcontactdetail::detailtype>&, const QHash<qtcontacts::qcontactdetail::detailtype, qset<int=""> >&) FIXME: local modification reported for non-upsynced local contact: QContactId("sql-1343") [W] unknown:0 - CDExport: exporting changes: 5 217 0 [W] unknown:0 - "Detail URI confict on: /org/freedesktop/Telepathy/Account/gabble/jabber/jabber_107!user1@domain.tld OnlineAccount 18" [W] unknown:0 - "Contact failed detail constraints" [W] unknown:0 - "Error updating contact sql-453: 3" [W] unknown:0 - Error updating ID: QContactId("sql-453")error:3 [W] unknown:0 - Unable to save privileged DB modifications to export DB! [W] unknown:0 - Unable to synchronize database changes! ... [W] unknown:0 - CDTpStorage: syncAccounts: () [D] unknown:0 - contactsd 1.1.1 DEBUG: "void CDTpStorage::syncAccounts(const QList<tp::sharedptr<cdtpaccount> >&):2368" Remove obsolete account: "/org/freedesktop/Telepathy/Account/gabble/jabber/jabber_107" [D] unknown:0 - contactsd 1.1.1 DEBUG: "void CDTpStorage::syncAccounts(const QList<tp::sharedptr<cdtpaccount> >&):2368" Remove obsolete account: "/org/freedesktop/Telepathy/Account/gabble/jabber/jabber_2" [W] unknown:0 - "Detail URI confict on: /org/freedesktop/Telepathy/Account/gabble/jabber/jabber_107!user1@domain.tld OnlineAccount 18" [W] unknown:0 - "Contact failed detail constraints" [W] unknown:0 - "Error updating contact sql-3601: 3" [W] unknown:0 - "Failed to write updated aggregate contacts during regenerate. definitionMask:" () [W] unknown:0 - contactsd 1.1.1 WARN: "void CDTpStorage::removeExistingAccount(QtContacts::QContact&, QtContacts::QContactOnlineAccount&):1995" Unable to remove linked contacts for account: "/org/freedesktop/Telepathy/Account/gabble/jabber/jabber_107" error: 3 </tp::sharedptr<cdtpaccount></tp::sharedptr<cdtpaccount></qtcontacts::qcontactdetail::detailtype,></qtcontacts::qcontactdetail::detailtype></qtcontacts::qcontact></qtcontacts::qcontact></qtcontacts::qcontact>
I've had a jabber account set up, then it was deleted (server was closed) and another, different one, was created. When I faced this error, I've tried deleting this new account as well, it not listed in Accounts anymore, but looks like it's not deleted yet due to this error.
Details on user with jabberID user1@domain.tld show a lot of constituents and multiple fields with same info: phone numbers, address, organization.
I'd like to avoid deleting all contacts, as I'm not sure they're being successfuly backed up.
I can access sqlite3 database with contacts, but have no idea what I can do regarding those errors.