Closed jmlich closed 2 years ago
The terminal contain following output:
qml: [saveContact] Saved contact "Error: contacts from aggregate collection specified in batch save!" Contact request 4 error: 11
The error message and code origin is at https://github.com/sailfishos/qtcontacts-sqlite/blob/master/src/engine/contactwriter.cpp#L3496 After adding of debug message is clear that this part of code is really invoked during save failure. The m_managerUri value was "qtcontacts:org.nemomobile.contacts.sqlite:".
If I understand correctly, the contact aggregates data from more sources. It is necessary to update data of the original contact not of the result of aggregation.
It is not perfect, but it works somehow.
The terminal contain following output:
The error message and code origin is at https://github.com/sailfishos/qtcontacts-sqlite/blob/master/src/engine/contactwriter.cpp#L3496 After adding of debug message is clear that this part of code is really invoked during save failure. The m_managerUri value was "qtcontacts:org.nemomobile.contacts.sqlite:".