nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
565 stars 171 forks source link

Timezone empty after opening contact in Thunderbird #3214

Open swixfort opened 1 year ago

swixfort commented 1 year ago

Describe the bug

Because this is in combination with Thunderbird I'm not sure whether this is a bug for the contacts app or an issue with Thunderbird.

Nevertheless: If I modify a contact (in Thunderbird), add a Timezone, the TZ field is gone after sync and cannot be created/edited within the contacts app. After clearing it in Thunderbird, it's available in the contacts app again.

After testing that again, I think it's more of a Thunderbird issue, so I'm going to check their bug report page as well. Maybe someone here already knows of this though.

Steps to reproduce

  1. Go to 'contacts app'
  2. Click on 'create
  3. Open Thunderbird, synchronize contacts.
  4. Add TZ to contact from 2. in Thunderbird
  5. synchronize
  6. Open contact in contacts app again, see that TZ is gone

Expected behavior

Add Timezone in Thunderbird, synchronize contact and see Timezone in contacts app.

Actual behavior

After adding Timezone via Thunderbird, field is gone and cannot be edited/seen/added in contacts app.

Contact version

5.0.3

Operating system

Linux 5.15.0-58-generic x86_64 (docker)

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

User client:

st3iny commented 1 year ago

Thanks for the report.

Could you share the exported .vcf file right after you added a timezone in Thunderbird? You can drop me a mail at u25fvsy75gn@temp.mailbox.org (alias for my private mail account) or upload it here.

swixfort commented 1 year ago

Hi @st3iny - thanks for the response. I did just create a new contact and exported it as a vcf. This resulted in the following:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.4.2//EN
FN:_Timezone Test
REV:20230202T163559Z
UID:c9c836b1-08d3-4f6c-98e2-621cb29cfb2f
TZ:Europe/
END:VCARD

So the issue is on the Thunderbird side, I think, because it's destroying the TZ. It should have TZ as TZ:Europe/Berlin, as I did enter it this way. I guess the contacts app can't cope with this broken entry and so it won't display the TZ field.