nextcloud / nextcloud/contacts

Delete member from group upon save back in group

Open
#3,797 0 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

I can't seem to delete some contacts from certain groups.
There is no setting to delete a complete group

Steps to reproduce
  1. Go to Contacts
  2. Click on edit contact and remove it from group.
  3. Save the contact
  4. The deleted group is re-added to the Contact

This doesn't happen for all contacts.
Due to import different address books some contacts where 3 times present.

Expected behavior

Contact is removed from group

Actual behavior

Contact is re added to group

Contact version

5.5.1

Operating system

Ubuntu 22.04

PHP engine version

Other

Web server

Apache (supported)

Database

MariaDB

Additional info

PHP is 8.2
Nextcloud is 18.0.2

image

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

The report names no files or tests. Start by reproducing the Contacts edit-and-save flow with a duplicated contact and a removed group, then trace where group membership is persisted. Done means saving the contact leaves the removed group absent without affecting other group memberships.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, javascript, mariadb, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.