Open GRaptor opened 4 years ago
Hello! :) Thanks for your report! Can you post the vcard here (please change sensitive data, but do not touch special characters)
Also, I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
Same vCard as in the other thread: 869A4D62-20BB-4031-9C87-C4DFFD8B48B1.zip
Same console output:
_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_
t is undefined"
duplicate of https://github.com/nextcloud/contacts/issues/942
Hm, not sure.
https://github.com/nextcloud/contacts/issues/942 refers to different options how you can define/declare the different types of a property. And that's apperently handeled different by different software.
However, in this case here, the app can't import what was exported by the same app. Of course I expect the app being capable to understand it's own data ;-) Right?
Of course I expect the app being capable to understand it's own data ;-) Right?
Eheh, your vcard is not originating from the nextcloud contacts app, as the PRODID field is stating.
942 refers to different options how you can define/declare the different types of a property. And that's apperently handeled different by different software.
Yeah, this is the reason of the t is undefined
error (usually). :)
Hum, strangely I can import your contact just fine
Hm, maybe I need new glasses again but on your snip I can't see the anniversary date?! (just the birthday) So, it did not import correct. :-)
Aaaah, I completely misread your issue. Sorry I'm a bit lost here. ^^
ITEM1.X-ABDATE;VALUE=DATE-AND-OR-TIME:20190220T000035
ITEM1.X-ABLABEL:_$!<Anniversary>!$_
X-ANNIVERSARY;VALUE=DATE-AND-OR-TIME:20190220T000035
Yes, we don't support those properties. I think there is an opened issue somewhere
Two options:
Ok, great. So I understand anniversary is part of the Nexcloud contacts app but not of the contacts app export module?!
I do't understand your question :)
Sorry. You said this feature is currently not supported. However, in Nextcloud contacts GUI I can add an anniversary date. And I can export it from there into a .vcf But I can't import it w/o loosing the anniversary. I'm just curious where the issue comes from. But I may not have the full picture how the contcact app works.
Anniverssary is supported in vcard4, you have a vcard 3 and nextcloud is applying a weird compatibility layer for microsoft and apple https://github.com/nextcloud/3rdparty/blob/a5036f09aca6d817f55e36c101684ac95120bdea/sabre/vobject/lib/VCardConverter.php#L121
fyi, same with new 3.3.0
@GRaptor if the labels on the right and the status of the issues still says "to develop" it means it is not fixed, no matter what version you're trying :)
Having a contact with a birthday and an anniversery day, both get exported when creating a .vcf However, on importing this .vcf back to NextCloud, the anniversary entry is gone
......
To Reproduce: create a new contacts entry enter a birthday and an anniversary day export to .vcf open the exported .vcf and delete the UID identifier line; save it import it into contacts the anniversary entry is not showing up
Expected behavior: reimport shows anniversary as well
Operating system: RaspBerry Buster
Nextcloud version: NextCloudPi 16.0.5
Contacts version: 3.16
Updated from an older Nextcloud or fresh install: Updated