nextcloud / nextcloud/contacts

Very strange and unlogical Behaviour of Contacts App

Open
#3,811 0 comments 1 reaction 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

Why is it not possible to show more than one Adressbook in plain sight? The reason to build >1 Adressbook is to give different Usergroup Access to different adressbooks without interference. The behaviour of an adressbook if marked visible or not is even stranger. You see the adress groups of disabled adressbooks even though they are empty when not enabled for a given group. That is very confusing - how do I open up new Adressgroup in an adressbook1 that is equally named in Adressbook2 without having it twice shown?!?
Adressgroups of a certain adressbook should ONLY be visible (also for admin) if that certain adressbook is choosen for display.
If an adressbook is not marked visible you can not work with or change it. Not Visible means not VISABLE, not not manageable. And contact groups are still visable (yet empty!
If I move a contact from one adress book to another it is still shown in the present adressbook and present group?!? (Display update made).
So please-allow the creation and display of different adressbooks with different adressgroups, visible and touchable in the webinterface for priviliged users(groups) without interference between them. and different rights.
Adressbook 1 (adressgroups A,B,C,...), Adressbook 2 (adressgroups A`,X,Y,Z,...),..... Adressbook X(adressgroups A````,....)

Steps to reproduce
  1. Go to 'Contacts'
  2. Click on '.Administration' button bottom
  3. Create new adressbook
  4. Sset old adressbook to "not visible"
  5. Alle adressgroups are STILL Visible
Expected behavior

If an adressbook is marked "Not visible" also its adressgroups should be NOT Visable anymore
Different Adressbooks (with different adressgroups)should be displayed and simply be clicked for opening

Actual behavior

Different Adressbooks should be selectable
When an adressbook is selected, its OWN adressgroups should be displayed
Users moved from 1 adressbook to another should disappear in the old book/group when commited

Contact version

5.5.1

Operating system

Linux Raspberry OS Bullseye

PHP engine version

PHP 8.1

Web server

Nginx

Database

MariaDB

Additional info

No response

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

Start in the Contacts app's Administration flow and reproduce the steps using two address books, including hiding one and moving a contact. Trace how the selected address book and its groups are displayed and refreshed; done means hidden books and groups are excluded, books can be selected independently, and moved contacts disappear from their previous book and group.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.