REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.0.1.45
HARDWARE (Jolla1, Tablet, XA2,…): XA2 Ultra, X
UI LANGUAGE: German
REGRESSION: (compared to previous public release: Yes, No, ?): Yes
DESCRIPTION:
The file ~/.local/share/system/Contacts/qtcontacts-sqlite/contacts.db
is no longer updated after the upgrade to SFOS 4. I suppose that the new contacts database is now persisted at ~/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db
, but as long as third-party apps can’t use Sailjail (see https://github.com/sailfishos/sailjail-permissions), some devs like me need an up-to-date contacts database.
PRECONDITIONS:
None
STEPS TO REPRODUCE:
- Open Contacts
- Change an arbitrary contact (e.g. first name)
- Open the SQLite database at
~/.local/share/system/Contacts/qtcontacts-sqlite/contacts.db
with the tool of your choice, search for the entry in the tableContacts
. See that the old name is still there.
If you want to be 100% sure that it’s not persisted, you may do a restarted between 2) and 3) - no changes on my devices…
EXPECTED RESULT:
- The database is updated properly
ACTUAL RESULT:
- Database content is not updated and becomes stale
ADDITIONAL INFORMATION:
As the files contacts.db-shm
and contacts.db-wal
were there at least on one device, I suppose that the database is actually loaded and you may even try to update it. It could even be related to the obvious schema change between SFOS 3.4 and SFOS 4 as I noticed several differences (e.g. less columns in the table Contacts
).