Closed Bug 1727633 Opened 3 years ago Closed 3 years ago

[CardDAV] Birthday without date not saved

Categories

(Thunderbird :: Address Book, defect)

defect

Tracking

(thunderbird_esr91 wontfix)

RESOLVED FIXED
102 Branch
Tracking Status
thunderbird_esr91 --- wontfix

People

(Reporter: kevin, Unassigned)

Details

(Keywords: regression, Whiteboard: [fixed by bug 469209])

With Thunderbird Daily 93.0a1 (2021-08-25) (64-bit), if I add or edit a contact in a CardDAV address book and omit the year field of birthday (on the "Private" tab), the month and day fields are not saved (and are removed if previously saved). Logging on the server indicates that the card is sent without a BDAY property.

One way to support this would be to use the ISO 8601:2000 truncated date format (e.g. BDAY:--0825 for August 25) as mentioned in Section 4.3.3 of RFC 6350 (vCard 4.0).

Since the card is currently sent using VERSION:3.0, an alternative might be BDAY;X-APPLE-OMIT-YEAR=1604:1604-08-25 as done by DAVx5 on Android (and presumably Apple products).

If neither is workable, perhaps some field validation to warn that the year field is required would be in order?

Thanks for considering,
Kevin

For reference, CardBook also uses year 1604 (with vCard 3.0) without the X-APPLE-OMIT-YEAR=1604 parameter. It may be worth considering treating year 1604 as blank when sent from a vCard server with or without X-APPLE-OMIT-YEAR.

Kevin are you still seeing this issue?

Flags: needinfo?(kevin)

It appears that the birthday and anniversary fields have not been added to the new UI as part of Bug 1762126, so I can neither view nor edit them in build 20220524094805 to check. I can check again once https://phabricator.services.mozilla.com/D146314 lands.

Flags: needinfo?(kevin)

This has been fixed in the back end (as part of bug 469209) but since there's no UI yet I'll leave it open.

Mass-adding regression keyword to applicable AB bugs.

#20220530ABRegressionKeyword01

Keywords: regression
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 469209]
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.