Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strangely inconsistent behavior on import #3919

Open
DiagonalArg opened this issue May 7, 2024 · 1 comment
Open

Strangely inconsistent behavior on import #3919

DiagonalArg opened this issue May 7, 2024 · 1 comment
Labels

Comments

@DiagonalArg
Copy link

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

@artelse
Copy link

artelse commented May 15, 2024

Hi, am having similar issues where lines longer than about 75 characters are broken off with a newline \n. In my case exporting an addressbook ('Download' in NC parlance) inserts all these newlines which than on subsequent import breaks. I manually had to fix a large contacts .vcf file, which was quite a pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants