nextcloud / nextcloud/contacts

Notes not synchronized to iOS if contact is shared read-only

Open
#2,906 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

A note within a contact is only displayed on a iOS Device if I have write permission to this contact.

But if I share this contact only with read permission the notes are not displayed/synchronized with the devices (iPhone).

Steps to reproduce
  1. Create a new addressbook
  2. Create a contact in this addressbook with a note
  3. Share this addressbook to a user with read-only permission
  4. Add this contacts to your iOS device with the read-only user
Expected behavior

The note will be missing

Actual behavior

The note will be displayed in the contact like it is with other contacts with write permission.

Contact version

4.2.0

Operating system

Ubuntu 20.04.4 LTS (Docker)

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database

MariaDB

Additional info

Behind a NGINX Reverse-Proxy

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

Reproduce the issue using the four listed steps with a read-only shared address book and an iOS device. Trace the contact and note synchronization path in the Contacts app; no source file or test is named in the report. First resolve the contradictory expected and actual behavior, then verify that the intended note visibility is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.