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

iOS corrupts vcards (e.g. address disappears) #901

Closed
JAKuhr opened this issue Jan 31, 2019 · 2 comments
Closed

iOS corrupts vcards (e.g. address disappears) #901

JAKuhr opened this issue Jan 31, 2019 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@JAKuhr
Copy link

JAKuhr commented Jan 31, 2019

I just noted that existing contact data gets corrupted if I edited an already existing contact on my iphone. For example if the contact had a address before, this is not shown anymore in nextcloud's web interface. I think this happens because iOS changes the VCARD attributes.

Original VCARD created with nextcloud's web interface (address visible):

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.1.6//EN
UID:71c59898-1e31-4e1a-8be8-9a7968f5aa4f
FN:Hans Testmann
ADR;TYPE=HOME:;;Bahnhofstraße 11;Hamburg;;21102;Deutschland
EMAIL;TYPE=HOME:[email protected]
TEL;TYPE="HOME,VOICE":+49 (40) 77733300
N:Testmann;Hans;;Dr.;
END:VCARD

Same VCARD after editing a detail on my iphone (address dissapeared):

BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//iOS 12.1.3//EN
N:Testmann;Hans;;Dr.;
FN:Dr. Hans Testmann
EMAIL;type=INTERNET;type=HOME;type=pref:[email protected]
TEL;type=HOME;type=VOICE;type=pref:+49 40 77733300
item1.ADR;type=HOME;type=pref:;;Bahnhofstraße 11;Hamburg;;21102;Deutschland
REV:2019-01-31T22:26:29Z
UID:71c59898-1e31-4e1a-8be8-9a7968f5aa4f
END:VCARD

The issue seems to be that iOS adds "item1." to the ADR field. Perhaps this is not standard conform but it should be handled somehow.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #865 (Removing fields (e.g. phone number or e-mail address) does not work), #292 (Contact disappear on addressbook switch), #16 (Problems while import vcards), and #309 (Fix address layout).

@nextcloud-bot nextcloud-bot added the bug Something isn't working label Jan 31, 2019
@skjnldsv
Copy link
Member

skjnldsv commented Feb 1, 2019

Hey, this is a duplicate of #793
Thansk for the feedback though, please head over the other issue ;)

@skjnldsv skjnldsv closed this as completed Feb 1, 2019
@skjnldsv skjnldsv added the duplicate This issue or pull request already exists label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants