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

Missing N;LANGUAGE=... field breaks sync with iOS? #640

Open
romanf opened this issue Jul 22, 2018 · 2 comments
Open

Missing N;LANGUAGE=... field breaks sync with iOS? #640

romanf opened this issue Jul 22, 2018 · 2 comments

Comments

@romanf
Copy link

romanf commented Jul 22, 2018

Steps to reproduce

  1. Create a minimal contact using contacts v1.5.4 on OC 9.1.7. Export as VCARD looks like this:

BEGIN:VCARD
VERSION:3.0
FN:cloud test
UID:510a7955-a6f8-47de-8b8d-1dfe5caae0ea
TEL;TYPE=HOME,VOICE:+41123456789
EMAIL;TYPE=HOME:[email protected]
ORG:trash-cloud test
TITLE:Mr+Mr
END:VCARD

This contact does NOT sync to iPhone running iOS 11.4 (15F79)

  1. Add a line
    N;LANGUAGE=en-us:Nachname;Vorname;;;
    to the VCARD file, re-import it to contacts

  2. Now the contact DOES sync to iPhone.

Server configuration

Operating system: Debian 3.16.57-2

Web server: Apache

Database: MySQL

PHP version: PHP 5.6.36-0+deb8u1

ownCloud version: (see ownCloud admin page): 9.1.7

Contacts version: (see ownCloud apps page) 1.5.4

Updated from an older ownCloud or fresh install: updated

Signing status (ownCloud 9.0 and above):

No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.3.4
  - calendar: 1.5.7
  - comments: 0.3.0
  - configreport: 0.1.1
  - contacts: 1.5.4
  - dav: 0.2.9
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.0
  - files_pdfviewer: 0.8.2
  - files_sharing: 0.10.0
  - files_texteditor: 2.2
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 16.0.2
  - notifications: 0.3.0
  - ownnote: 1.08
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - tasks: true
  - templateeditor: 0.1
  - updatenotification: 0.2.1
  - user_ldap: 0.9.1
Disabled:
  - calendar.bak
  - contacts.bak
  - encryption
  - external
  - files_antivirus
  - tasks.bak
  - user_external

The content of config/config.php:

{
    "system": {
        "instanceid": "oclxzv0euarp",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.trash.net"
        ],
        "datadirectory": "\/d1\/owncloud-data",
        "overwrite.cli.url": "https:\/\/cloud.trash.net",
        "dbtype": "mysql",
        "version": "9.1.7.2",
        "dbname": "trashcloud",
        "dbhost": "mysql1.local",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "appstore.experimental.enabled": true,
        "appstoreurl": "https:\/\/marketplace.owncloud.com\/api\/v0",
        "ldapIgnoreNamingRules": false,
        "loglevel": 3,
        "mail_from_address": "webmaster",
        "mail_smtpmode": "php",
        "mail_domain": "trash.net",
        "theme": "trashcloud",
        "lost_password_link": "https:\/\/www.trash.net\/dienste\/passwort-vergessen\/",
        "maintenance": false,
        "htaccess.RewriteBase": "\/"
    }
}

Are you using external storage, if yes which one: local/smb/sftp/... NO

Are you using encryption: NO

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP

LDAP configuration (delete this part if not used)

+-------------------------------+---------------------------------------------------------------------+
| Configuration                 |                                                                     |
+-------------------------------+---------------------------------------------------------------------+
| hasMemberOfFilterSupport      |                                                                     |
| hasPagedResultSupport         |                                                                     |
| homeFolderNamingRule          |                                                                     |
| lastJpegPhotoLookup           | 0                                                                   |
| ldapAgentName                 | cn=xxxx                                     |
| ldapAgentPassword             | ***                                                                 |
| ldapAttributesForGroupSearch  |                                                                     |
| ldapAttributesForUserSearch   | cn;uid;mail                                                         |
| ldapBackupHost                |                                                                     |
| ldapBackupPort                |                                                                     |
| ldapBase                      | dc=xxxxx                                                    |
| ldapBaseGroups                | ou=xxxxxxx                                          |
| ldapBaseUsers                 | ou=xxxxxx                                          |
| ldapCacheTTL                  | 600                                                                 |
| ldapConfigurationActive       | 1                                                                   |
| ldapDynamicGroupMemberURL     |                                                                     |
| ldapEmailAttribute            | mail                                                                |
| ldapExperiencedAdmin          | 0                                                                   |
| ldapExpertUUIDGroupAttr       | gidNumber                                                           |
| ldapExpertUUIDUserAttr        |                                                                     |
| ldapExpertUsernameAttr        |                                                                     |
| ldapGroupDisplayName          | cn                                                                  |
| ldapGroupFilter               | (&(|(objectclass=posixGroup))(|(cn=sysadmin)(cn=xxxxxx)(cn=webadm))) |
| ldapGroupFilterGroups         | sysadmin;xxxxx;webadm                                               |
| ldapGroupFilterMode           | 0                                                                   |
| ldapGroupFilterObjectclass    | posixGroup                                                          |
| ldapGroupMemberAssocAttr      | memberUid                                                           |
| ldapHost                      | ldaps://ldap1.local                                                 |
| ldapIgnoreNamingRules         |                                                                     |
| ldapLoginFilter               | (&(|(objectclass=person))(uid=%uid))                                |
| ldapLoginFilterAttributes     |                                                                     |
| ldapLoginFilterEmail          | 0                                                                   |
| ldapLoginFilterMode           | 0                                                                   |
| ldapLoginFilterUsername       | 1                                                                   |
| ldapNestedGroups              | 0                                                                   |
| ldapOverrideMainServer        |                                                                     |
| ldapPagingSize                | 500                                                                 |
| ldapPort                      | 636                                                                 |
| ldapQuotaAttribute            |                                                                     |
| ldapQuotaDefault              |                                                                     |
| ldapTLS                       | 0                                                                   |
| ldapUserDisplayName           | cn                                                                  |
| ldapUserDisplayName2          |                                                                     |
| ldapUserFilter                | (|(objectclass=inetOrgPerson))                                      |
| ldapUserFilterGroups          |                                                                     |
| ldapUserFilterMode            | 0                                                                   |
| ldapUserFilterObjectclass     | inetOrgPerson                                                       |
| ldapUuidGroupAttribute        | auto                                                                |
| ldapUuidUserAttribute         | auto                                                                |
| turnOffCertCheck              | 0                                                                   |
| useMemberOfToDetectMembership | 1                                                                   |
+-------------------------------+---------------------------------------------------------------------+

Client configuration

Browser:

Operating system:

CardDAV-clients:

@Julian1998
Copy link
Contributor

@romanf Which contact app do you use on your iPhone?

@romanf
Copy link
Author

romanf commented Jul 23, 2018

@Julian1998 Default build-in Apple iOS 11.4 contact app

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

No branches or pull requests

2 participants