nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
564 stars 169 forks source link

Exclude address books from syncing #4091

Open xXFreeFunXx opened 4 weeks ago

xXFreeFunXx commented 4 weeks ago

Describe the bug

Address books cannot be excluded from synchronisation. Two address books have been created automatically in the settings, which are synchronised despite being hidden.

These are mine:

  1. accounts (system address book: NXT Accounts)
  2. last contacted

We use these, among other things, to synchronise the contacts on our smartphone. Unfortunately, this results in a behaviour of contacts that cannot be edited, deleted or removed. It also results in duplicate contacts that cannot be deleted or merged.

Two Behaviour:

  1. two contacts: 1st system contact from NXT 2st smartphone contact (the right one)
  2. several different contacts that originate from one contact.
    • All additional contacts cannot be deleted, edited or removed. I was able to migrate one of 4 contacts. There are currently 3 contacts left, one of which is the smartphone contact and the other two are synchronised by NXT. However, only two contacts are displayed in NXT under Contacts. NXT and smartphone contact. The third contact is not on the smartphone or otherwise, if synchronisation is deactivated, no more contacts are displayed.

Steps to reproduce

  1. go to Contact settings.
  2. click on Address books.
  3. hide address books.
  4. deactivate synchronisation on the smartphone
  5. activate syncing again.
  6. see error: Address books still exist.

Expected behavior

That the address books do not appear when syncing.

Actual behavior

I have already described this.

Contact version

5.5.3

Operating system

No response

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

MicKress commented 3 weeks ago

I would appreciate this feature very much. If you are hosting a managed nextcloud you aren't able to disable account addressbook via OCC Command or to deactivate the contacts interaction app. So excluding system addressbooks from sync would bei really great.