contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Deleting a contact does not remove them from the group

Open cdmlb opened this issue 7 years ago • 3 comments

I created a contact, and in the groups drop down I saw it said list is empty, so decided to type in the box and hit enter, wow to my amazement it created a group. Very confusing app design. Why not use the same groups nextcloud uses?

I now noticed under the All contacts list that a new group is listed.

I decided to delete the contact, the group is still listed as count of 1, instead of 0. I created a new contact in the same group, the group is now listing 2 members even thought there is really 1, since I delete the first.

cdmlb avatar Dec 24 '18 17:12 cdmlb

GitMate.io thinks possibly related issues are https://github.com/nextcloud/contacts/issues/333 (When deleting an addressbook, no contact is selected if the group doesn't exist anymore), https://github.com/nextcloud/contacts/issues/587 (Cannot remove contact from group with very long name), https://github.com/nextcloud/contacts/issues/81 (Group cannot be removed), https://github.com/nextcloud/contacts/issues/451 (Contacts ⭐️ does not work), and https://github.com/nextcloud/contacts/issues/163 (Contact delete tooltip).

nextcloud-bot avatar Dec 24 '18 17:12 nextcloud-bot

Wow now that I have refreshed the contacts app page, now the group is gone since no contacts exist in the group anymore. Why would I want the group to be deleted? I want them as place holders and to be empty so I can add and remove people from the groups so I don't have to recreate the group every single time.

cdmlb avatar Dec 24 '18 17:12 cdmlb

@cdmlb the groups are always linked to contacts. Indeed, if a contact does not exists and was the last member of the group, the group will disappear. This is the default behaviour imposed by the rfc standards. To change this we'll need to support individual vcard groups like stated in #213

skjnldsv avatar Dec 26 '18 16:12 skjnldsv