nextcloud / nextcloud/contacts

Setting title of email to non-standard entry deletes the email.

Open
#1,705 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
642
Forks
221
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

A clear and concise description of what the bug is.
I attempted to set an email field name (clicking to the left of the email) to something, previously imported with no field name. On setting this, the email field is lost completely. No errors.

To Reproduce
Steps to reproduce the behavior:

  1. go to a contact
  2. click on area to left of email field ot set the title of that email address field
  3. press enter
  4. email is gone

Expected behavior
set the name, keep the email.

Actual behavior
email is gone without ability to recover.

Screenshots
If applicable, add screenshots to help explain your problem.
image

clicked here, set the field (cannot screenshot) then email is lost

Server configuration

Operating system: linux - ubuntu 20 sever

Nextcloud version: 19 -- using the VM build in this org's repo list

Contacts version: most recent as of today

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 by reproducing the issue in the contact UI: open a contact, edit the area to the left of an email address, enter a non-standard field name, and verify whether the address disappears. Trace the email-field title handling and confirm the fix preserves the existing email while applying the new name, then repeat the reported steps to verify the result.

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
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.