-
Notifications
You must be signed in to change notification settings - Fork 180
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
Quotes in TYPE are still being set #2866
Comments
I can confirm that this does not work. I changed the version number on my contacts list before importing at the quotes were still added. I also tried importing the contacts, exporting them, manually fixing the field, and then re-importing it and the issue still appeared. However, if I imported a contact, and then reset the TYPE attribute (i.e, from mobile -> none -> mobile), then the field is properly stored. This leads me to believe that the issue is not with all contacts, but rather with import/export of them. |
I had this issue from the beginning, but today I have updated NextCloud to v24 and Contacts app to v4.2.0. At first the issue was still there. See on my phone "HOME" instead of "domicile" (in french). Types are correct on NextCloud web app and fortunately on my iPhone using iOS 15.6. I guess there were something recorded badly in the contacts informations. |
Unfortunately that's an infeasible solution for those of us with 500+ contacts |
Updating all contacts one by one worked for some versions now. However, at some point (!) the types break again, I did not figure out if it's after some time or after syncing with macOS (I don't use the web frontend for editing contacts). This is even more frustrating, when you spent hours fixing the contacts, and then after months the broken type names start to creep in again... |
This is happening to me too. I transitioned from mailbox.org contacts to nc contacts via export/import to nc webuiand the "CELL, "WORK etc appeared. I even tried exporting directly from Mac contacts (which was synced to Mailbox.org contacts and same thing. I have 600+ contacts so i do not want to have to edit everyone of them. Is there a way to batch regex edit the vcf file to temporarily correct this? |
Workaround (that worked for me) going from Apple to Nextcloud.
I assumed that googles code would clean up weird contact values on export which seems to be correct. (I cant remember if i read this somewhere or if I made it up, whatever it works.) |
@JonathanBouligny i tried this just now but it skips about 200 or so of my 605 contacts. I don’t know why. Nextcloud registers the 605 contacts but my iPhone didn't sync all of them. Unsure why. |
What part skips 200 contacts? Step 1,2,3, or 4? |
@JonathanBouligny the last part syncing to iOS from Nextcloud CardDAV. I looked at the final numbers and while my Nextcloud web had 605 my iPhone only had 500ish |
Maybe the culprit is Thunderbird's CardDAV implementation in this case:
The line in the VCF export looks like this:
Open Thunderbird and change something in the phone number (not the type):
At this point, also iOS decides to split the TYPE at commas (ignoring quotes) and use the first for display: I am not sure if this is a Nextcloud issue, or if
|
From how I read the vCard Format Specification:
So I added a bug report on Bugzilla for Thunderbird here: https://bugzilla.mozilla.org/show_bug.cgi?id=1799096 @miguelarios Could this be the case for your setup as well? |
Im not sure about that. I didn't have the issue getting them imported. I turned off all other contact stores except NextCloud. Id say try it again with those 100 contacts? Or reupload the whole thing a second time I think nextcloud can screen duplicates. |
This may be a separate problem than the quote problem. I suggest opening a new issue here on github. |
If i create the contact over the iPhone (added DAV account), the contact will be saved in Nextcloud Contacts with:
If i create it instead in the Nextcloud Webapp directly in contacts app it creates as follows:
Interessting Part here is: everything else seems to work with this kind of notation. for example I have now come to the conclusion that only the "Cell" is affected. in Addition: Possible Solution: In addition: If i import the corrected vcf without the VALUE=UNKNOWN, all contacts will be modified and include VALUE=UNKNOWN again. In a next step i edited the contact on ios, and have choosen the type given by apple "Mobile" and "Work". after sync i downloaded the vcf contacts again. the only contact i have changed on the Phone (and is correct now) is now shown as:
all the others (wrong ones):
Hope this helps!! |
Hey there, I am also having the same problem. Steps:
Result:
|
Some investigation:
|
So maybe the issue would be fixed if this line would be:
But maybe a dev can jump in, as I don't know the codebase much 😅 |
@ChristophWurst Can you or someone of your team please see this issue? Thanks. |
Hey there, I recently came accross the same issue when migrating from iCloud to Nextcloud. Are there any updates for this issue? |
Hello, I'm having the same problem. It's an annoying bug. Can this be fixed? Thank you, Soul |
I'm also having this issue and would love to see it resolved- maybe even a built in tool that can just go through the contacts and fix this? |
To the devs: |
I don't have time to look into this at the moment. |
We had that issue in the past but since a while it is gone and working reliable on 10 devices. All of them are running iOS v16.3.x and communicating with NC v25.0.3 by using the latest contact app. |
Awesome to hear! How did you resolve it @rakekniven? Did you manually fix the existing contacts or reimport? And |
I meant the Contacts app from Nextcloud v5.1.0. After it worked again, we started to manually fix (and also clean) the contacts when used. Not the best and effective way, but next time ;-) It worked again after a BigSur update if I remember correctly. But unfortunately I don't have the details anymore. |
With this commit import contacts in nextcloud via web doesn't add the quotes anymore. |
#3243 is in |
That sounds awesome, thanks a lot! |
I see the update landed. Is there a way to fix these existing " quotes in bulk? |
I think you could export all contacts, then create a new addressbook and reimport. |
Works for me now with your last advise. Thanks, great job! |
Describe the bug
This is essentially #1107, which is still unresolved (but cannot be re-opened):
In the TYPE attribute, quotes are added:
This leads to several platforms not interpreting these values correctly. On iOS this entry is being displayed as
"CELL
(presumably split at the,
).In #1107 (comment) it is mentioned that changing the vCard version to
4.0
may fix this, so either the version has to be correct, or the quotes have to be removed.Steps to reproduce
"CELL
Expected behavior
The entry type should be
Mobile
(or something localized by iOS) instead of"CELL
.Actual behavior
The entry type is displayed as
"CELL
.Contact version
4.2.0
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: