You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had already reported this behaviour in this bug report #235 (comment) but it later turned out to be a different issue.
I exported the address book from my nextcloud, deleted it on the server and re-imported it. Less than 15% of the contacts were imported. Tried it several times and it always was the same. Then I had a short look at the exported VCard-file and saw that:
it was somehow mixed and held version 3.0 AND version 4.0 vcards
the majority of the vcards had several - up to five - VERSION entries, all looking the exactly the same for one vcard
many of the vcards had several PRODID entries, some of them up to three or four. All of these entries were generated by different clients
Somehow I had the idea that vcards with more than one VERSION and PRODID entry were not imported. Thus I deleted all of these entries and all of a sudden I was able to import the contacts.
Now I wonder why the vcards are exported in a mixed format file and why leftover entries are not stripped from them. Thus, I suppose, problems like the one I experienced probably could be avoided by exporting a correctly formatted vcard file. Or should better the import process be changed?
Knut
The text was updated successfully, but these errors were encountered:
The nextcloud contact app/backend does not automatically edit/fix your vCard yet (we started implementing this recently, but we're not done yet).
So if you imported apps before we put our vCard syntax restrictions, your cards may be invalid but still used by nextcloud (though editing them with the latest versions will probably mark them as invalid and reject your changes). You can edit them manually but you should treat each error as individual bug (multiple prodid...) the mixed version can't be fix as we don't provide an upgrade script.
I had already reported this behaviour in this bug report #235 (comment) but it later turned out to be a different issue.
I exported the address book from my nextcloud, deleted it on the server and re-imported it. Less than 15% of the contacts were imported. Tried it several times and it always was the same. Then I had a short look at the exported VCard-file and saw that:
Somehow I had the idea that vcards with more than one VERSION and PRODID entry were not imported. Thus I deleted all of these entries and all of a sudden I was able to import the contacts.
Now I wonder why the vcards are exported in a mixed format file and why leftover entries are not stripped from them. Thus, I suppose, problems like the one I experienced probably could be avoided by exporting a correctly formatted vcard file. Or should better the import process be changed?
Knut
The text was updated successfully, but these errors were encountered: