nextcloud / nextcloud/contacts

[Bug]: Export Import Addressbook Bug

Open
#2,707 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

⚠️ This issue respects the following points: ⚠️
  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • I agree to follow Nextcloud's Code of Conduct.
Bug description

I exported the address book from one nextcloud instance and tried to import it another nextcloud instance.
Sadly some contacts get lost in this process.

Since the names for the contacts with errors are not shown on the import dialog I wasn't able to find and test all of them manually (or even able to fix it manually by adding them all once more manually).

But below is one contact which I found quite quickly. The data is slightly changed for anonymization.

Steps to reproduce
BEGIN:VCARD
VERSION:3.0
FN:Anna Köhler
TEL;TYPE=VOICE\,CELL:+49 1681 9999999
UID:598fad18-2e85-4699-a859-ebc7c2c39985
BDAY:1993-07-19
N:Köhler;Anna;;;
PRODID:-//dmfs.org//mimedir.vcard//EN
REV:2016-11-06T18:50:17.150Z
CATEGORIES:Familie
END:VCARD
  1. Try to import the minimal vcf and get the error
Expected behavior

The imported contacts should be the same contacts as before.

Installation method

Other

Operating system

No response

PHP engine version

No response

Web server

No response

Database engine version

No response

Is this bug present after an update or on a fresh install?

No response

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

No response

List of activated Apps
Can't do this on the new server (a fresh hetzner storage share).
But its the basic setup + contacts + calender
Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

I updated the old exporting instance through 22.3 up to 23.3
The new one is 23.2.
I tried the import on both servers on various versions with new exports on each version step and it still didn't work.

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 file or test is named. Start by reproducing the import with the supplied minimal vCard and compare behavior across the stated Nextcloud versions; done means the contact imports without being lost and the import dialog identifies failures.

Written by the indexing model from the issue text.

Assessment

Domain
data
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.