Skip to content

Apple Client Syncs Labels for addresses which are not displayed correctly #4202

Open
@AlexBartl-AT

Description

@AlexBartl-AT

Describe the bug

The Labels which are correctly stored in the field carddata, do not display correctly in the contacts app using the web browser

Sample content of cardata (truncated to essential information)

BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//macOS 15.1//EN
N:Full;Name;;;
FN:Full Name
item1.EMAIL;type=INTERNET;type=pref:[email protected]
item1.X-ABLabel:Parzelle
item2.EMAIL;type=INTERNET:[email protected]
item2.X-ABLabel:Rechnung
TEL;type=CELL;type=VOICE;type=pref:+436601522244
item3.ADR;type=pref:;;Some Address 24;Linz;;4020;
item3.X-ABLabel:Rechnung
X-IMAGEHASH:2+3I2YHfS+jW1QMDI101HA==
X-IMAGETYPE:PHOTO
PHOTO;X-ABCROP-RECTANGLE=ABClipRect_1&0&0&512&512&2+3I2YHfS+jW1QMDI101HA==;ENCODING=b;TYPE=JPEG:
Imagedata truncated

Steps to reproduce

  1. Enter a new address in the macOS Contacts App
  2. Set custom labels to email adresses and postal adresses
  3. Let the NextCloud Client sync the information back to the server
  4. Confirm the changes are saved into the carddata field of the corresponding database record in table oc_cards
  5. Look up the record using a web browser using the contacts app at the server

Expected behavior

displaying content of corresponding "X-ABLabel" instead of "type"

Actual behavior

content of "type" ist displayed instead of "X-ABLabel"

Contact version

6.1.0

Operating system

Linux cs.kgv-ws.com 6.11.5-300.fc41.aarch64 #1 SMP PREEMPT_DYNAMIC Tue Oct 22 19:35:18 UTC 2024 aarch64 GNU/Linux

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database

MySQL

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions