nextcloud / nextcloud/contacts

Editing existing contacts in NC will not sync to devices

Open
#2,474 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

If you change a existing contact in NC the changes will not displayed on synced devices. New contacts are synced. From devices to NC is also not an issue. I don't know why.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Contacts App
  2. Select a contact
  3. Change it
  4. Save notifcation appears (double checked few times that its saved)
  5. Syncing on devices

Expected behavior
Edited contacts should be synced (updated) from NC also.

Actual behavior
No change is happening

Screenshots
If specific is requested i can share non-private shoots

Server configuration

Operating system: Ubuntu latest

Web server: Nginx

Database: PostgreSQL

PHP version: 7.4

Nextcloud version: 22

Contacts version: 4.0.3 (and before)

Updated from an older Nextcloud or fresh install: Updated a few times regulary (since NC 19 or 20 idk)

Signing status:

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.
`No errors have been found.``

**List of activated apps:**

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder


**Nextcloud configuration:**

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your instance's installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)


### Client configuration
**Browser: Firefox**

**Operating system: Arch**

**CardDAV-clients: DAVx**

### Logs
#### *Web server error log*

Insert your webserver log here


### Nextcloud log
#### *data/nextcloud.log*

Insert your Nextcloud log here


#### Browser log
<details>
<summary>How to access your browser console (Click to expand)</summary>

# Chrome
- Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
- Alternative method:
    1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
    2. Click the “console” tab.

# Safari
- Press CTRL + ALT + I to open the Web Inspector.
- See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

# IE9
1. Press F12 to open the developer tools.
2. Click the “console” tab.

# Firefox
- Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
- or, if Firebug is installed (recommended):
    1. Press F12 to open Firebug.
    2. Click on the “console” tab.

# Opera
1. Press CTRL + SHIFT + I to open Dragonfly.
2. Click on the “console” tab.
</details>

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Additional logs (etc) as requested...

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

No source files or tests are identified in the report. Start by reproducing the edit flow in Contacts 4.0.3 on Nextcloud 22, then compare the server-side and DAVx sync behavior using the requested Nextcloud, web-server, browser, and network logs. Done means edited contact fields are reflected on synced devices while new-contact and device-to-Nextcloud sync continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nginx, php, postgresql
Domain
api, backend, databases
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.