-
Notifications
You must be signed in to change notification settings - Fork 172
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
Remove quotes from TYPE for better external platforms compatibility #1107
Comments
Right, we should remove the quotations for compatibility. :) Thanks for reporting! |
This is also happening with the popular productivity/email program eM Client. |
If I read it correctly, there were fixes to kewisch/ical.js#343 but that issue hasn't been closed yet. Is there hope that the fixes find their way to Nextcloud Contacts? |
@giddyhup Maybe, but we really need kewisch/ical.js#343 |
ACK. Understood. |
I looked into the topic again and would like to share my observations. According to RFC 6350 section 6.4.1 both ways to represent phone number types are okay:
In my tests my clients support parameter lists and have problems with value lists. The issue occurs since the Contacts app changes the parameter representation. Also, something like |
Yes, because the library we're using does not understand multiple parameters |
Sorry, I now have the whole picture. I just went down the rabbit hole and and also found the pull request from April 5 which probably would fix it. : ( |
The pull request has been merged! Yay! |
@giddyhup Do you know when it will be released? |
@a1pilot nope. One needs to watch the respective repository. The last release was in 2018 and the one before that was in 2016. Then it is up to the Nextcloud/contacts maintainers to include it in their release. I assume that together can take some months. |
Hey, there was a new release :) That‘s the best easter present this year. |
In this repository, package.json references ical.js v1.4 (Mozzilla's recently released version with the fix). Does this mean version 3.2.0 of the Nextcloud contacts already includes the fix? Can we close the issue? |
no it means I need to release a new version :) |
Please help test the new release (link in first post): #1579 |
Is there a testing procedure? Can the respective existing app folder simply renamed and the new folder put in its place instead? |
You can replace the app with this archive. If anything happens, delete it and reinstall contacts through the appstore as usual :) |
Ok, I am testing. I can't tell if it is related to this release and to this issue but here it goes (just tell me if I should open a new issue). One contact renders my Windows client (EM client) unresponsive when I try to add the downloaded vcf file manually (it won't get synced automatically). An address appears in the web form in one field, in the vcf it appears like this: Again, I don't know if this is related to the fix. Also, the entries have also been edited under iOS and the changes may come from there. |
We don't support type pref, so it's not coming from nextcloud here. :/
Same for this one, but that might be a bug, no idea. Though this was supposed to fix the multiple types like |
It looks like your em client is not compatible with new vcards syntax :/ |
Happy birthday to my favorite issue. I know it's heartless but I hope you die soon. |
Is there a way to manual fix this issue? |
yes, I would be interested in a manual fix as well if possible |
Same for me !!! I tried to look into the code, but not clear where to apply any sort of fix unfortunately. This is the only thing preventing me from moving from radicale/infcloud to nextcloud contacts, a real pity. |
Thanks for fixing this issue. Just tested it with my NC v23.0.4 incl. contacts v4.1.0 app and it works with my iOS v15.4 devices. Writing a message here to praise the ones who fixed it ❤️. One more thanks 🙏 . |
Thank you fixing this! |
Same from my end, thank you so much. Long awaited fix that will allow me to simplify my infra (was using Radicale + NextCloud, can now go 100% NextCloud :-) |
Which fix? |
See above linked PR. |
Darn. I missed the anniversary to say thanks for the fix. Well, so long old friend, you won't be missed. |
@RolKl I'm experiencing that as well currently - did you ever figure it out? |
Sorry, the problem still exists. Now with NC contacts 4.2.0, ios 15.6 and nc 24.03. |
Since this issue cannot be re-opened for some reason, I opened a new one: #2866 |
Have exactly the same setup and it works reliable here ... have no idea where to look ... |
I think it may have something to do with import / export logic, copied from another comment:
|
import Function calls parseVcf: contacts/src/store/addressbooks.js Lines 410 to 424 in 5fd5d68
parseVcf calls new Contact with every single vCards:contacts/src/services/parseVcf.js Line 55 in d5cdb70
which calls contacts/src/models/contact.js Lines 47 to 72 in 5fd5d68
the import function then calls const vData = contact.vCard.toString() which leads to the additional quotes as described in my Issue for the used Library: kewisch/ical.js#532 |
I didn't quite know where to post this so its on both issues, I cant remember if i read this somewhere or if I made it up, whatever it worked for me. 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. |
This issue is still pending. If i create the contact over the iPhone (added DAV account), the contact will be saved with:
If i create it instead in the Nextcloud Webapp directly in contacts app it creates as follows:
Which leads to problems |
I found the same as @5ila5 ... but I also noticed that the contact class actually has a |
@stephanbogner / @5ila5 - thank you for pointing this out. I just encountered this and non-dearly remembered my least favorite bug. I moved to a new Nextcloud instance and thought the smart thing to do would be to move contacts via export/import. Now, more phone number types are broken than before. : ( Should this be a new bug or can this one be opened again? |
This is a resubmit as I ended up doing more investigation following a switch to using Google Contacts due to this problem - during the switch, I had to manually edit the VCF file to get it to work with Gmail.
The VCF file produced by Contacts doesn't use fields recognised by other applications and appears to be non-standard. As it currently stands, it appears Contacts is incompatible with all other major platforms.
Nextcloud 16.0.1, Contacts 3.1.1
Example:
New contact created in the web app, with a phone number and email. The type (e.g. home, office) is left on the defaults.
The contact is downloaded through the web app (.VCF file).
The file is opened in Outlook, revealing a missing phone number.
The file is imported to gmail, again revealing a missing phone number.
Sync to iOS also reveals a missing phone number.
Opening the VCF in ATOM reveals the field names. You can see email has the type HOME but phone has (quotes included as in the file) "HOME,VOICE".
Removing ,VOICE and the quotation marks to leave the type as HOME results in Gmail and Outlook now seeing the phone number.
The text was updated successfully, but these errors were encountered: