Closed schaal closed 8 years ago
duplicate #186
Please provide example vcard
@DeepDiver1975 Contacts with no name are not shown currently.
Contacts with no name are not shown currently.
understood - I still need example data :wink:
Sample vcard with no name, exported from Google Contacts contacts.vcf.txt
@schaal THX
again: this is the same like #186 :wink: should we close #186 now? I think it does not make sense to leave 2 issues open about the same Issue/Enhancement :grin:
@aspdye this is not the same issue from my understanding since in #186 there is company as well as the name of a person set
@jancborchardt @tomneedham @Henni @irgendwie this is how this looks like
Should we in this case simply use the org field as name and hide org and title? Once we do this there is no way to add a name - thinking about the case that somebody adds a new contacts and first enters orge only :wink:
@jancborchardt @tomneedham @Henni @irgendwie ping
The RFC specifies that every vCard needs a FN attribute. This is an example from the RFC:
BEGIN:VCARD
VERSION:4.0
KIND:org
FN:ABC Marketing
ORG:ABC\, Inc.;North American Division;Marketing
END:VCARD
I'm aware that we needn't follow the specification precisely, but I think it makes sense to require the FN attribute (even for organizations).
I would say in the contact list we simply use the org name for the first line if no full name is present, that would cover the use case and sounds easiest, right?
@jancborchardt :+1:
What about doing this like OS X does? If you create an org-contact, the org filed is the big one, and the name is under it (as the org is in current versions of ownCloud Contacts) 😉
@aspdye I guess I already asked for it - we need an example vcard for such a contacts. I want to know if the information about being a company contact is part of the vcard.
There you go 😉 https://goo.gl/MLBb0J @DeepDiver1975
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//Mac OS X 10.11.4//EN
N:Karlitschek;Frank;;;
FN:ownCloud Inc.
ORG:ownCloud Inc.;
X-ABShowAs:COMPANY
UID:32c9c22c-98d9-48a1-9407-f8792971a5b7
X-ABUID:32C9C22C-98D9-48A1-9407-F8792971A5B7:ABPerson
END:VCARD
X-ABShowAs:COMPANY
Apple specific Kung-Fu
I was free to import this aswell. My Owncloud doesnt show the name Frank Karlitschek afterall.
My Owncloud doesnt show the name Frank Karlitschek afterall.
yes - because it is stored in N which we currently no not take into considerations
Steps to reproduce
Expected behaviour
Contact should be added and displayed in the contacts list
Actual behaviour
Contact doesn't show up in the browser interface, although it is still added to the database and also available in external dav clients (tested with DavDroid)
Server configuration
Operating system: Debian testing
Web server: Apache 2.4.18
Database: Postgresql 9.5
PHP version: 7
ownCloud version: 9.0
Contacts version: 1.1.0.0
Updated from an older ownCloud or fresh install: fresh install
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Chromium 49.0.2623.108
Operating system: Debian unstable
CardDAV-clients: Browser interface
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log