nextcloud / nextcloud/contacts
Renaming a shared address book doesn't work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
I want to rename an address book that was shared to my user (directly or via group) but cannot. Instead I get an "rename was unsuccessful" error popup.
To Reproduce
Steps to reproduce the behavior:
- as admin A create a user U
- add U and A to G
- impersonate U, go to contacts app
- create address book 1 ; leave default address book ("Contacts" of U) (referred-to as 2 here)
- share 1 and 2 to G (writable)
- "logout" (back to A), go to contacts app
- in contacts settings, try to rename 1 or 2
Expected behavior
The renaming should be possible to have "local" address book names.
Actual behavior
A toast message appears top right informing the user that the renaming was unsuccessful.
Server configuration
NC22 on NGINX/MariaDB/PHP8 on Arch, contacts 4.0.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shared-address-book scenario in Contacts settings using the listed users, group, writable shares, and server configuration. Trace the address-book rename flow from that screen; done means users with writable shared books can rename them without the unsuccessful toast.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- 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
- 35/100