View Issue Details

IDProjectCategoryView StatusLast Update
0005958SOGoBackend Address Bookpublic2024-04-21 12:04
Reportermstilkerich Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformServerOSDebianOS Version11
Product Version5.10.0 
Summary0005958: CardDAV backend returns vcards lacking mandatory properties FN and N if not part of the contact
Description

The CardDAV backend returns version 3 vcards (RFC 2426). RFC 2426 specifies a few mandatory properties for such vcards: "Profile special notes: The vCard object MUST contain the FN, N and VERSION types."

Also see RFC 2426, 3.1.1 FN Type Definition: Type special notes: [...] The property MUST be present in the vCard object.

When I create a contact in the SOGo web interface and only specify Organization and E-Mail address, the card provided via the CardDAV backend lacks the FN property. I guess any property value would be acceptable in this case, although ideally when the user does not specify a "display name" SOGo would derive a formatted name automatically (as does the webinterface when displaying the contact).

Steps To Reproduce

1) Create contact without a display name (and / or without first name and lastname for the N property).
2) Fetch the contact via carddav interface

For the following card, I only entered organization and mail address. The returned card lacks both FN and N properties.

BEGIN:VCARD
UID:42-6624FD00-1-7C69540.vcf
VERSION:3.0
CLASS:PUBLIC
PROFILE:VCARD
ORG:STARS
EMAIL:valentine@stars.gov
END:VCARD

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-04-21 12:04 mstilkerich New Issue