nextcloud / nextcloud/contacts
Sync to iOS shows company instead of person name
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
When creating a contact on NextCloud in the browser, it is synced to my iPhone, showing the company field as the contact's name. The contact's name is not visible in iOS at all, so basically the contact's name is replaced with the company field (see example "Bert Böller" below.
Contacts with empty company field also sync correctly to iOS.
And the other way around also works fine: Creating a contact on iOS including a company name will be synced to NextCloud without problems (example "Anton Aberwitz").
Steps to reproduce
- Setup contact sync with your iPhone according to the description here: https://docs.nextcloud.com/server/19/benutzerhandbuch/pim/sync_ios.html
- Create a contact in NextCloud, using the browser. Include a company name as in example "Bert Böller".
-
Drag down the screen on your iPhone to updated contacts.
-
See the result.
-
Create a contact on iOS, including a company name, just like this:
-
Sync and see the result on NextCloud in the browser: It's fine. Please note that there is a "Detailed name" section which is not visible with the contact created on NextCloud.
Expected behavior
The contact's person name should show up in contacts on iOS.
As a workaround: The contact's "Details name" section should be visible in NextCloud, so the user can decide how the person name will be synced.
Actual behavior
The contact's company field shows up as the person name in iOS. The person name is not synced at all.
The contact's "Detail name" section is not visible on NextCloud.
Contact version
5.3.2
Operating system
Linux 5.4.0-156-generic x86_64
PHP engine version
Other
Web server
Nginx
Database
MySQL
Additional info
PHP version is 8.2.8.
We are using a NextCloud installation provided by IONOS. According to a lookup at sitereport.netcraft.com they use Nginx as webserver.
MySQL version is 10.5.19
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test entry point is named in the report. Start by reproducing the browser-created contact and comparing its person and company fields during iOS sync with a contact created on iOS; done means the person's name appears on iOS while the company name remains separate.
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
- Mostly clear
- Newbie friendliness
- 35/100