nextcloud / nextcloud/contacts

Strangely inconsistent behavior on import

Open
#3,919 1 comment 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

Steps to reproduce

Inconsistent behavior on import of a number of cards. All these cards were exported from Google. Here's one:

BEGIN:VCARD
VERSION:3.0
FN:A&A Tire Repair (Punctures; Flats)
N:;A&A Tire Repair (Punctures\; Flats);;;
TEL;TYPE=MAIN:+1.510 599 7964
item1.ADR:;;5443 Shattuck Ave;Oakland;CA;94609-1620;US;5443 Shattuck Ave\nO
 akland\, CA 94609-1620\nUS
item1.X-ABLabel:
CATEGORIES:Auto,myContacts
END:VCARD

Sometimes it's imported correctly. Sometimes, the address looks like this:

image

So far, the problems I see are in the address. Here's another one:

image

And another:

image

Expected behavior

See above.

Actual behavior

See above.

Server operating system

CentOS 7.9

Web server

Nginx

Database engine version

PostgreSQL

PHP engine version

PHP 8.1

Nextcloud version

27.1.7

Updated from an older installed version or fresh install

None

Signing status
No errors have been found.
List of activated apps

No response

Nextcloud configuration

No response

Browser

LibreWolf 124.0.3-1

Client operating system

Ubuntu 22.04

CardDAV-clients

Web interface.

Web server error log

No response

Nextcloud log

No response

Browser log

No response

Browser log

No response

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, tests, or entry points are named. Reproduce the import through the web interface using the supplied vCard and compare several Google-exported cards; done means address fields are imported consistently and correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.