Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlexBartl-AT opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@AlexBartl-AT
Copy link

AlexBartl-AT commented Oct 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant