Preserve preferred phone number when editing contacts (TEL;TYPE=cell,pref:123-4567)
Categories
(Thunderbird :: Address Book, defect, P4)
Tracking
(Not tracked)
People
(Reporter: kevin, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: ux-consistency, Whiteboard: [datalossy])
Thunderbird Daily 104.0a1 build 20220715105930 does not appear to recognize or preserve pref
in the TYPE
parameter of TEL
to indicate a preferred-use telephone number, as described in Section 3.3.1 of RFC 2426. For example, with DAVx⁵ 4.2.2-ose on Android, if I create a contact named Jane Doe with home 867-5308 and mobile 867-5309 marked as default, it syncs as:
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/4.2.2-ose ez-vcard/0.11.3
UID:3ea1b6d3-a6e1-4963-996d-01de2fa1d52f
FN:Jane Doe
N:Doe;Jane ;;;
REV:2022-07-16T01:03:01Z
TEL;TYPE=home:867-5308
TEL;TYPE=cell,pref:867-5309
END:VCARD
If I edit then save in Thunderbird (without any changes) it becomes
BEGIN:VCARD
VERSION:3.0
PRODID:+//IDN bitfire.at//DAVx5/4.2.2-ose ez-vcard/0.11.3
UID:3ea1b6d3-a6e1-4963-996d-01de2fa1d52f
FN:Jane Doe
N:Doe;Jane ;;;
REV:20220716T010301Z
TEL;TYPE=home:867-5308
TEL;TYPE=cell:867-5309
END:VCARD
Note that pref
was removed from TEL;TYPE=cell,pref
.
As a user, I would appreciate it if the preference information was not lost when editing unrelated properties.
Note: TYPE=pref
is preserved for ADR
and EMAIL
in my testing. It is only lost for TEL
.
Comment 1•3 years ago
|
||
Thanks Kevin for this perfect report!
Indeed, TYPE=pref should also be preserved for phone numbers.
Comment 2•3 years ago
|
||
Note: TYPE=pref is preserved for ADR and EMAIL in my testing. It is only lost for TEL.
...which looks like a ux-consistency bug.
Comment 3•3 years ago
|
||
TYPE=pref seems like invalid syntax. Valid syntax would be something like TEL;TYPE=cell;PREF=1:867-5309.
See https://datatracker.ietf.org/doc/html/rfc6350#section-5.6
Reporter | ||
Comment 4•3 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #3)
TYPE=pref seems like invalid syntax. Valid syntax would be something like TEL;TYPE=cell;PREF=1:867-5309.
See https://datatracker.ietf.org/doc/html/rfc6350#section-5.6
I believe TYPE=pref
is vCard 3 (RFC 2426) and PREF=1
is vCard 4 (RFC 6350).
Comment 5•3 years ago
|
||
Ah, you're right!
Description
•