nextcloud / nextcloud/contacts

bad synchronisation with iOS

Open
#3,600 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: teams
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Steps to reproduce
  1. create contact in NC with name and company
Expected behavior

name entered in NC matches name in iOS

Actual behavior

in iOS, contact name is the company and the company is correct, so double company

in iOS and MacOS, contacts have names and first names

Server operating system

docker AiO latest

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

27.0.0

Updated from an older installed version or fresh install

Updated from an older version

Signing status
No errors have been found.
List of activated apps
Activity	2.19.0	Featured
Antivirus for files	5.2.2	
Auditing / Logging	1.17.0	Featured
Auto Groups	1.5.2	
Brute-force settings	2.7.0	Featured
Calendar	4.4.5	Featured
Circles	27.0.1	Featured
Client Push	0.6.3	
Collectives	2.7.0	
Comments	1.17.0	Featured
Contacts	5.3.2	Featured
Custom menu	3.10.3	

Dashboard	7.7.0	Featured
Deck	1.10.0	Featured
Default group quota	0.1.7	
Deleted files	1.17.0	Featured

External sites	5.2.1	Featured
File sharing	1.19.0	Featured
Forms	3.3.1	Featured
Gestion	2.4.1	
Group folders	15.0.2	Featured
Impersonate	1.14.0	Featured
Log Reader	2.12.0	Featured
Mail	3.3.1	Featured
Mind Map	0.0.28	
Money	0.20.0	
Nextcloud All-in-One	0.4.0	
Nextcloud announcements	1.16.0	Featured
Notifications	2.15.0	Featured
Notifications for calendar event updates	2.2.0	
ONLYOFFICE	8.2.0	Featured
Password policy	1.17.0	Featured
PDF viewer	2.8.0	Featured
Photos	2.3.0	Featured
Polls	5.3.0	
Quota warning	1.17.0	
Registration	2.2.0	
Share by mail	1.17.0	Featured
Support	1.10.0	Featured
Suspicious Login	5.0.0	Featured
Talk	17.0.3	Featured
Tasks	0.15.0	Featured
Terms of service	2.3.0	
Text	3.8.0	Featured
Unrounded Corners	1.1.1	
User status	1.7.0	Featured
Versions	1.20.0	Featured
Welcome	1.0.9	
Zipper 1.4.0
Nextcloud configuration
#Server configuration detail
Operating system: Linux 5.10.0-23-amd64 #1 SMP Debian 5.10.179-2 (2023-07-14) x86_64
Webserver: Apache/2.4.57 (Unix) (fpm-fcgi)
Database: pgsql PostgreSQL 15.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
PHP version: 8.1.22
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, gd, gmp, imagick, imap, intl, ldap, memcached, pcntl, pdo_pgsql, pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcache
Nextcloud version: 27.0.2 - 27.0.2.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
<details><summary>Signing status</summary>
[]
</details>
<details><summary>List of activated apps</summary>
Enabled:
 - activity: 2.19.0
 - admin_audit: 1.17.0
 - auto_groups: 1.5.2
 - bruteforcesettings: 2.7.0
 - calendar: 4.4.5
 - circles: 27.0.1
 - cloud_federation_api: 1.10.0
 - collectives: 2.7.0
 - comments: 1.17.0
 - contacts: 5.3.2
 - dashboard: 7.7.0
 - dav: 1.27.0
 - deck: 1.10.0
 - event_update_notification: 2.2.0
 - external: 5.2.1
 - federatedfilesharing: 1.17.0
 - files: 1.22.0
 - files_antivirus: 5.2.2
 - files_mindmap: 0.0.28
 - files_pdfviewer: 2.8.0
 - files_sharing: 1.19.0
 - files_trashbin: 1.17.0
 - files_versions: 1.20.0
 - files_zip: 1.4.0
 - forms: 3.3.1
 - gestion: 2.4.1
 - group_default_quota: 0.1.7
 - groupfolders: 15.0.2
 - impersonate: 1.14.0
 - logreader: 2.12.0
 - lookup_server_connector: 1.15.0
 - mail: 3.3.1
 - money: 0.20.0
 - nextcloud-aio: 0.4.0
 - nextcloud_announcements: 1.16.0
 - notifications: 2.15.0
 - notify_push: 0.6.3
 - oauth2: 1.15.1
 - onlyoffice: 8.2.0
 - password_policy: 1.17.0
 - photos: 2.3.0
 - polls: 5.3.0
 - provisioning_api: 1.17.0
 - quota_warning: 1.17.0
 - registration: 2.2.0
 - settings: 1.9.0
 - sharebymail: 1.17.0
 - side_menu: 3.10.3
 - spreed: 17.0.3
 - support: 1.10.0
 - suspicious_login: 5.0.0
 - tasks: 0.15.0
 - terms_of_service: 2.3.0
 - text: 3.8.0
 - theming: 2.2.0
 - twofactor_backupcodes: 1.16.0
 - unroundedcorners: 1.1.1
 - user_status: 1.7.0
 - viewer: 2.1.0
 - welcome: 1.0.9
 - workflowengine: 2.9.0
Disabled:
 - contactsinteraction: 1.6.0
 - encryption
 - federation: 1.17.0
 - files_external
 - files_rightclick: 1.5.0
 - firstrunwizard: 2.14.0
 - privacy: 1.10.0
 - recommendations: 1.4.0
 - related_resources: 1.1.0-alpha1
 - serverinfo: 1.16.0
 - sharerenamer: 3.2.0
 - shifts: 1.9.3
 - survey_client: 1.13.0
 - systemtags: 1.16.0
 - tables: 0.5.1
 - twofactor_totp: 7.0.0
 - user_ldap
 - weather_status: 1.5.0

</details>
<details><summary>Configuration (config/config.php)</summary>
{
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "domain.net",
        "sub.domain.net"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "skeletondirectory": "\/var\/lib\/docker\/volumes\/nextcloud_aio_nextcloud\/_data\/skeleton",
    "dbtype": "pgsql",
    "version": "27.0.2.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "check_data_directory_permissions": true,
    "maintenance": false,
    "loglevel": "2",
    "log_type": "file",
    "logfile": "\/var\/www\/html\/data\/nextcloud.log",
    "log_rotate_size": "10485760",
    "log.condition": {
        "apps": [
            "admin_audit"
        ]
    },
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "enabledPreviewProviders": {
        "1": "OC\\Preview\\Image",
        "2": "OC\\Preview\\MarkDown",
        "3": "OC\\Preview\\MP3",
        "4": "OC\\Preview\\TXT",
        "5": "OC\\Preview\\OpenDocument",
        "6": "OC\\Preview\\Movie",
        "0": "OC\\Preview\\Imaginary"
    },
    "enable_previews": true,
    "upgrade.disable-web": true,
    "trashbin_retention_obligation": "auto, 30",
    "versions_retention_obligation": "auto, 30",
    "activity_expire_days": "30",
    "simpleSignUpLink.shown": false,
    "share_folder": "\/Shared",
    "one-click-instance": true,
    "one-click-instance.user-limit": 100,
    "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
    "htaccess.RewriteBase": "\/",
    "files_external_allow_create_new_local": true,
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "preview_imaginary_url": "http:\/\/nextcloud-aio-imaginary:9000",
    "default_language": "fr",
    "default_locale": "fr_FR",
    "default_phone_region": "FR",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "allow_local_remote_servers": true,
    "updatedirectory": "\/nc-updater",
    "overwritehost": "domain.net",
    "overwrite.cli.url": "https:\/\/domain.net\/",
    "updater.release.channel": "stable",
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "ssl",
    "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
    "davstorage.request_timeout": 3600,
    "dbpersistent": true
}
</details>
Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1694175838
)
External storages: files_external is disabled
Encryption: no
User-backends:
OC\User\Database
Talk configuration:
STUN servers
185.252.235.96:443
TURN servers
turn:185.252.235.96:3478 - udp,tcp
Signaling servers (mode: default):
https://domain.net/standalone-signaling/ - 12de5a9b71afef06eaf171099712ef0a5f6ca0c4
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

domain – espace numérique collaboratif

Discuss this file

Join conversation
Browser

No response

Client operating system

macos

CardDAV-clients

contacts

Web server error log

No response

Nextcloud log

No response

Browser log

No response

Browser log

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the contact created in Nextcloud Contacts through the CardDAV client on iOS or macOS, then compare the exchanged name and company fields. Done means the contact name matches on iOS and macOS without duplicating the company value.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.