ProtonMail / proton-contacts

React web application to manage ProtonMail contacts
54 stars 19 forks source link

Some contacts become permanently inaccessible after adding complex data #387

Open jwflory opened 4 years ago

jwflory commented 4 years ago

Tested on 4.0.0-beta.11.

Summary

Some contacts become unusable and permanently inaccessible when edited with complex Address information.

Background

The Contact Importer on Android did not import all metadata for my device contacts, so in many cases, I was editing my Proton Contacts by hand with data from my default contact application.

There is never a warning and I have not observed closely enough to figure out what triggers it, but usually it happens with contacts where I edit in long or complex address data. I'm not sure what part of my input might trigger this.

Screenshot of error when opening a corrupt contact

Details

So far, my only guess is that the : and # characters trigger this behavior. Sometimes I write addresses with numbers like #123, or Box no: 123. I'm not able to re-edit the corrupt contacts to try and triage what causes the issue.

Outcome

Contacts do not become permanently inaccessible when unexpected input is entered