nextcloud / nextcloud/contacts
Custom email/phone labels not working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
Setting custom labels for a phone number and email address does not work currently. While it is possible (after retries) to type in and select the label, after saving and reloading the default "Private" appears in the UI. Checking with a different app (DAVx5 -> Fossify Contatcs) those custom labels are set. Editing the contact again and selecting "work" instead of "private" (which already is wrong at this place) removes the number/email completely.
Steps to reproduce
- Create phone number/email with custom label
- save contact
- reload page
Plus for the real mess:
- edit contact again
- select work instead of private as label
--> the phone number has been removed completely.
Expected behavior
Contacts with custom labels are displayed correctly.
Actual behavior
See bug description
Contact version
8.4.5
Operating system
AIO container
PHP engine version
None
Web server
None
Database
None
Additional info
No response
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 custom-label steps in the issue: create a phone number or email with a custom label, save, reload, and edit it again. Trace the save and reload behavior for contact labels; done means custom labels display correctly after reload and changing the label does not remove the contact value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100