zanonmark / Google-4-TbSync

This provider add-on adds Google synchronization capabilities to TbSync. Only contacts and contact groups are currently managed, using Google's People API.
Mozilla Public License 2.0
51 stars 7 forks source link

Google contact with multi-line notes results in blank TB contact #42

Closed mrbumpy409 closed 1 year ago

mrbumpy409 commented 1 year ago

Using current git version of Google-4-TbSync (0.4.0), if a Google contact field contains a newline, the resulting synced Thunderbird contact appears blank (no name or data). This most commonly occurs in the notes field, but I did have an example of a newline in an address field on an older contact. Removing the newlines causes the contact to correctly sync.

Steps to reproduce:

  1. Create a Google contact.
  2. Add two lines of text to the notes field, with a newline (enter key) between them.
  3. Synchronize address books via TbSync.

Result: The contact shows as a blank entry in the Thunderbird address book.

zanonmark commented 1 year ago

Fixed in the upcoming 0.4.1.

Thanks, MZ

mrbumpy409 commented 1 year ago

Just tested 0.4.2 and no sign of the bug. Thanks!

zanonmark commented 1 year ago

Thanks for confirming.

MZ