-
Notifications
You must be signed in to change notification settings - Fork 173
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
exported vCard phone number with ; or , is re-imported incorrect #1297
Comments
Hum, can you point me where this is correct according to the rfc? 🤔 |
Well, I read it here, paragraph 3.4 of RFC 6350: 3.4. Property Value Escaping But maybe I miss understood?! Anyway, I would expect that the imported contact looks 100% the exported contact. But it does not. Marc |
Yes, generally. But that doesn't means you can use them in all properties
The only thing I found on the TEL is allowing the extension number |
Ah sorry, I've been bamboozled by the github formatting of Yours are escaped, so it should be allowed indeed, as plain text! |
Can you post your vcard here please? How to access your browser console (Click to expand)Chrome
Safari
IE9
Firefox
Opera
|
First, find the .vcf attached: The console log is a bit more tricky. How can I expand all the entries? The one line item won't help you, I guess: _The following contact needed a correction that failed: duplicate types
Object { jCal: (3) […], addressbook: {…}, vCard: {…}, conflict: false, dav: {…} }
validate.js:38:14
Locale used de 2 PropertyDateTime.vue:171_
On importing this vCard, I get this log:
_The following contact needed a correction that failed: duplicate types
Object { jCal: (3) […], addressbook: {…}, vCard: {…}, conflict: false, dav: {…} }
validate.js:38:14
Locale used de 2 PropertyDateTime.vue:171
TypeError: "this.$slots.default is undefined"
initActions ncvuecomponents.js:154
beforeMount ncvuecomponents.js:154
VueJS 53
vue.runtime.esm.js:1888:12
The escapeHTML library is deprecated! It will be removed in nextcloud 19. globals.js:30:10
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
This contact did not have a proper uid. Setting a new one for
Object { jCal: (3) […], addressbook: {…}, vCard: {…}, conflict: false }
contact.js:107:11
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
The escapeHTML library is deprecated! It will be removed in nextcloud 19. globals.js:30:10
The following contact needed a correction that failed: duplicate types
Object { jCal: (3) […], addressbook: {…}, vCard: {…}, conflict: false, dav: {…} }
validate.js:38:14
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
The escapeHTML library is deprecated! It will be removed in nextcloud 19. globals.js:30:10
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
The following contact needed a correction that failed: duplicate types
Object { jCal: (3) […], addressbook: {…}, vCard: {…}, conflict: false, dav: {…} }
validate.js:38:14
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
The escapeHTML library is deprecated! It will be removed in nextcloud 19. globals.js:30:10
Locale used de 2 PropertyDateTime.vue:171
TypeError: "t is undefined"
u ncvuecomponents.js:154
beforeUpdate ncvuecomponents.js:154
VueJS 6
vue.runtime.esm.js:1888:12
VueJS 9_ |
This comment has been minimized.
This comment has been minimized.
Any additional comment on this? |
Sorry to bring this up again. It's tagged as information needed. |
I don't remember either! |
Okay, I just tried the new 3.3.0 |
Yep, still not fixed :) |
I am experiencing the same issue! Using Nextcloud 24.0.7 and Contacts 4.2.2 and also using Nextcloud 25.0.1 and Contacts 5.0.1 |
Partially blocked on a new upstream release of |
New ical.js release is out: https://github.com/kewisch/ical.js/releases/tag/v2.0.0 |
New ical.js is merged into Contacts so no longer a blocker: #3941 |
When a phone (or fax) number field consits of ; or , (used for pause and wait) it can be exported correct to a .vcf
However, to import the same file back to contacts creates a wrong entry.
Example:
Fax work: 205246;;,;
vCard export: TEL;TYPE="WORK,FAX":205246\;\;\,\; (what is correct according to the RFC)
reimport into contacts produces:
Fax work: 205246\;\;\,\;
Looks to me the parsing at import does not work correct
BTW: when synchronising with iOS, same issue happens when synching back from iPhone to NextCloud (this time, it's not an Apple ... feature ;-) )
......
To Reproduce
create a new contacts entry
enter a phone number and add ; and/or , to it
export to .vcf
open the exported .vcf and delete the UID identifier line; save it
import it into contacts
check the phone field
Expected behavior
phone number should show up like entered before
Actual behavior
the \ of the .vcf file are not parsed correct
Server configuration
Operating system: RaspBerry Buster
Nextcloud version: NextCloudPi 16.0.5
Contacts version: 3.16
Updated from an older Nextcloud or fresh install:
Updated
The text was updated successfully, but these errors were encountered: