[Bug][Help] All attributes with "TYPE=x" are hidden - List of valid contact attributes wanted

Made some updates:

  • NC 14.0.4 => 14.0.6 => 15.0.2
  • Android Davdroid => DAVx5
  • Contacts 3.0.1

Now all attributes of my contacts containing TYPE=x are no more shown.

Mostly (or all?) addtionally contain DAVDROID as:

DAVDROID2.URL;TYPE=X-OTHER;VALUE=URI:https://help.nextcloud.com

I would like to manually modify my over 1.000 contact entries. But where to find a list of all valid attributes?

Hello!
Was it ever shown?

Can you post the full vcard please?
Thanks you very much :slight_smile:

Yes.

Now contact entries look like this:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.1.2//EN
UID:5f94f417-f457-49ec-a53e-89f53bf9df6e
FN:Nina Buxdehude
N:;Nina Buxdehude;;;
DAVDROID1.TEL;TYPE=x-mobil:017-444-55555
DAVDROID2.TEL;TYPE=x-privat:+4917123456789
DAVDROID1.X-ABLABEL:Mobil
DAVDROID2.X-ABLABEL:Privat
DAVDROID3.X-ABLABEL:Other
NOTE:Ich bin eine Notiz 
DAVDROID3.URL;TYPE=X-OTHER;VALUE=URI:https://help.nextcloud.com
REV:20170823T182609Z
END:VCARD

It looks like a bit chaos!?!? :persevere:

I also have entries like:

PRODID:-//Simpler Backup//8.2.3//Android

Also not shown:

GROUPEDLOGS2.URL;VALUE=URI:http://www.google.com
GROUPEDLOGS2.X-ABLABEL:Other

Shall I go to Github with my problems, @skjnldsv ?

Hey!
Actually it’s a long existing request: https://github.com/nextcloud/contacts/issues/42

So I’m really surprised you said it was working before :thinking:

This make sense. You should not be able to edit the PRODID field. And it’s a weird data for most of users, that’s why almost no vcard editor show it :slight_smile:

As I told you: I made several updates and before them I had also problems with Android and synch:
Uninstalled DAVdroid and installed again …

Maybe I’m wrong. :frowning:

Though this is strange. This should be TEL directly.
Vcard natively supports Mobil and Private labels.

TEL;TYPE=voice,home:017-444-55555

@davdroid any idea why those fields are created? Or is it just because the user entered Mobil as a custom label instead of using the default types? :slight_smile:

New address entry created with the Contacts app:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.1.6//EN
UID:c7d113b8-6977-4056-8922-4d76ae7fef8b
FN:Test-Display
ADR;TYPE=HOME:postfach;erweiterte...;adresse-straße;stadt;bundesland;postl
 eitzahl;land
EMAIL;TYPE=HOME:e-mail-privat
TEL;TYPE="HOME,VOICE":tel-privat
TEL;TYPE="WORK,VOICE":tel-arbeit
TEL;TYPE=CELL:tel-mobil
ORG:Firmaeben
TITLE:Titeleben
CATEGORIES:WS
N:nachname;vorname;zusätzliche;präfix;suffix
URL;VALUE=URI:internetseite1
URL;VALUE=URI:internetseite2
END:VCARD

But you recommend

TEL;TYPE=voice,home:017-444-55555

and not

TEL;TYPE="HOME,VOICE":017-444-55555

Confusing … does anywhere a list of all valid attributes exist? So I would manually repair my address books.

Oh oh … maaaaany bugs in Contacts app 3.0.2!

But I got it managed: I created an address entry (sorry, in German) with all possible attributes:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.1.6//EN
UID:c7d113b8-6977-4056-8922-4d76ae7fef8b
FN:display-name
ADR;TYPE=HOME:adresse-privat-postfach;adresse-privat-erweiterte...;adresse-
 privat-adresse-straße;adresse-privat-stadt;adresse-privat-bundesland;adress
 e-privat-postleitzahl;adresse-privat-land
ADR;TYPE=WORK:adresse-arbeit-postfach;adresse-arbeit-erweiterte...;adresse-
 arbeit-adresse-straße;adresse-arbeit-stadt;adresse-arbeit-bundesland;adress
 e-arbeit-postleitzahl;adresse-arbeit-land
ADR;TYPE=OTHER:adresse-andere-postfach;adresse-andere-erweiterte...;adresse
 -andere-adresse-straße;adresse-andere-stadt;adresse-andere-bundesland;adres
 se-andere-postleitzahl;adresse-andere-land
EMAIL;TYPE=HOME:e-mail-privat
TEL;TYPE="HOME,VOICE":tel-privat
TEL;TYPE="WORK,VOICE":tel-arbeit
TEL;TYPE=CELL:tel-mobil
TEL;TYPE="WORK,CELL":tel-mobil-arbeit
TEL;TYPE="HOME,CELL":tel-mobil-privat
TEL;TYPE=FAX:tel-fax
TEL;TYPE="WORK,FAX":tel-fax-arbeit
TEL;TYPE="WORK,FAX":tel-fax-arbeit
TEL;TYPE=PAGER:tel-pager
TEL;TYPE=VOICE:tel-anruf
TEL;TYPE=CAR:tel-auto
TEL;TYPE="WORK,PAGER":tel-pager-arbeit
ORG:display-firma
TITLE:display-titel
CATEGORIES:WS
N:detaillierter-name-nachname;detaillierter-name-vorname;detaillierter-name
 -zusätzliche;detaillierter-name-präfix;detaillierter-name-suffix
URL:internetseite1
URL:internetseite2
RELATIONSHIP:COLLEAGUE
CLOUD;TYPE=HOME:federated-cloud-id-privat
CLOUD;TYPE=WORK:federated-cloud-id-arbeit
CLOUD;TYPE=OTHER:federated-cloud-id-andere
EMAIL;TYPE=WORK:e-mail-arbeit
EMAIL;TYPE=OTHER:e-mail-andere
NOTE:Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, 
 Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, Notizen\, Notiz
 en\, Notizen\, Notizen\, Notizen\, Notizen
EMAIL;TYPE=HOME:e-mail-privat2
EMAIL;TYPE=HOME:e-mail-privat3
BDAY:20190121T190614
X-SOCIALPROFILE;TYPE=facebook:soziales-netzwerk-facbook
X-SOCIALPROFILE;TYPE=GITHUB:soziales-netzwerk-github
X-SOCIALPROFILE;TYPE=GOOGLEPLUS:soziales-netzwerk-google+
X-SOCIALPROFILE;TYPE=INSTAGRAM:soziales-netzwerk-instagram
X-SOCIALPROFILE;TYPE=LINKEDIN:soziales-netzwerk-pinterest
X-SOCIALPROFILE;TYPE=PINTEREST:soziales-netzwerk-pinterest
X-SOCIALPROFILE;TYPE=QZONE:soziales-netzwerk-qzone
X-SOCIALPROFILE;TYPE=TUMBLR:soziales-netzwerk-tumblr
X-SOCIALPROFILE;TYPE=TWITTER:soziales-netzwerk-twitter
X-SOCIALPROFILE;TYPE=WECHAT:soziales-netzwerk-wechat
X-SOCIALPROFILE;TYPE=YOUTUBE:soziales-netzwerk-youtube
X-SOCIALPROFILE;TYPE=MASTODON:soziales-netzwerk-mastodon
X-SOCIALPROFILE;TYPE=DIASPORA:soziales-netzwerk-diasprora
X-SOCIALPROFILE;TYPE=OTHER:soziales-netzwerk-other_social_media
NICKNAME:spitzname
END:VCARD
  • Date of dead did not work
  • Aniversary also not
  • Characters were deleted while writing :roll_eyes:
  • Not all fields could be filled
  • Syntax checkings sometimes stupid

But these bugs are not my intention of this posting: I want to repair my address book above.

And this is the entry in the GUI:

And in German:

are you sure your contact wants to see her phone numbers on the internet?

Try dialing :sunglasses:

017-444-55555
1 Like

Based on my problems in this topic I created a HowTo: HowTo: Which attributes are used by Contacts app by default

Vcard 3.0 https://tools.ietf.org/html/rfc2426#section-3.3.1
Vcard 4.0 https://tools.ietf.org/html/rfc6350#section-6.4.1

1 Like

Thanks a lot @skjnldsv! Just added this info to the HowTo :grinning::+1:

+49171 … looks very real.

BTW it is Buxtehude, not Buxdehude. I know, I live nearby.

Yes, DAVx⁵ maps Phone.TYPE_MOBILE to VCard “type=cell” and “custom” with custom label to type=x-custom-label + x-ablabel.

1 Like