tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.13k stars 530 forks source link

ProgrammingError when updating TutanotaProperties #8022

Closed charlag closed 6 days ago

charlag commented 6 days ago

It manifests like this:

ProgrammingError: Value defaultLabelCreated with cardinality ONE can not be null
    at nc (asset://app/mail-worker.js:23:40253)
    at rc.encryptAndMapToLiteral (asset://app/mail-worker.js:23:39496)
    at ii.update (asset://app/mail-worker.js:6:22945)

Somehow it was in the original PR but got lost after rebase.

Test notes

Note: before downgrading you need to delete the old offline db (can delete config dir or just credentials)