contacts icon indicating copy to clipboard operation
contacts copied to clipboard

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

Open SamLue opened this issue 4 years ago • 4 comments

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

SamLue avatar Sep 01 '22 10:09 SamLue

@miaulalala this rings a bell, doesn't it?

We have seen this before. Last time it took a lot of debugging effort to find out what happens and I think the last insight we got was that this occurred due to an invalid format in the .vcf when long lines are wrapped.

ChristophWurst avatar Sep 01 '22 10:09 ChristophWurst

https://github.com/nextcloud/contacts/issues/2346 could be related.

ChristophWurst avatar Sep 01 '22 10:09 ChristophWurst

The probleme also exists without any special character. And also with short notes without wrapped lines. I also spend many time to find out that it depends on the permission.

SamLue avatar Sep 01 '22 12:09 SamLue

@miaulalala this rings a bell, doesn't it?

We have seen this before. Last time it took a lot of debugging effort to find out what happens and I think the last insight we got was that this occurred due to an invalid format in the .vcf when long lines are wrapped.

i remember. it ws a won't fix back then because there was no real cause for this. Might be worth another debug sesh.

miaulalala avatar Sep 23 '22 09:09 miaulalala