I created a contact and downloaded the vcf file. Then, I used the "Import into" button and uploaded the file I just downloaded. I got a message saying "1 faulty contact" with a tooltip that says "Open your browser console for more details". It is rather troubleing that nextcloud can not import vcf files it created itself.
Here is the vcf file:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.1.6//EN
UID:727ffabf-f39f-45a4-94d9-9aef52c65b8d
REV;VALUE=DATE-AND-OR-TIME:20191201T204222Z
FN:Tester
ADR;TYPE=HOME:;;;;;;
EMAIL;TYPE=HOME:
TEL;TYPE="HOME,VOICE":123456
END:VCARD
Here is the console content (Chromium, it also happens in Firefox, I did not compare console output):
vue.runtime.esm.js:1888 TypeError: Cannot read property 'filter' of undefined
at a.initActions (ncvuecomponents.js:154)
at a.beforeMount (ncvuecomponents.js:154)
at $t (vue.runtime.esm.js:1854)
at en (vue.runtime.esm.js:4213)
at t (vue.runtime.esm.js:4037)
at a.Cn.$mount (vue.runtime.esm.js:8409)
at init (vue.runtime.esm.js:3118)
at vue.runtime.esm.js:5972
at f (vue.runtime.esm.js:5919)
at h (vue.runtime.esm.js:6047)
Ht @ vue.runtime.esm.js:1888
Vt @ vue.runtime.esm.js:1879
Ut @ vue.runtime.esm.js:1839
$t @ vue.runtime.esm.js:1862
en @ vue.runtime.esm.js:4213
t @ vue.runtime.esm.js:4037
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
(anonymous) @ vue.runtime.esm.js:6210
k @ vue.runtime.esm.js:6313
(anonymous) @ vue.runtime.esm.js:6476
t._update @ vue.runtime.esm.js:3942
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
changeStage @ importState.js:145
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
processFile @ SettingsImportContacts.vue:117
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
Show 26 more frames
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
h @ vue.runtime.esm.js:6047
f @ vue.runtime.esm.js:5948
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
(anonymous) @ vue.runtime.esm.js:6471
t._update @ vue.runtime.esm.js:3939
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn @ vue.runtime.esm.js:4462
t @ vue.runtime.esm.js:4067
Cn.$mount @ vue.runtime.esm.js:8409
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5972
f @ vue.runtime.esm.js:5919
(anonymous) @ vue.runtime.esm.js:6210
k @ vue.runtime.esm.js:6313
(anonymous) @ vue.runtime.esm.js:6476
t._update @ vue.runtime.esm.js:3942
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
changeStage @ importState.js:145
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
processFile @ SettingsImportContacts.vue:117
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
Show 34 more frames
vue.runtime.esm.js:1888 TypeError: Cannot read property 'forEach' of undefined
at u (ncvuecomponents.js:154)
at a.beforeUpdate (ncvuecomponents.js:154)
at $t (vue.runtime.esm.js:1854)
at en (vue.runtime.esm.js:4213)
at hn.before (vue.runtime.esm.js:4070)
at dn (vue.runtime.esm.js:4300)
at Array.<anonymous> (vue.runtime.esm.js:1980)
at Qt (vue.runtime.esm.js:1906)
Ht @ vue.runtime.esm.js:1888
Vt @ vue.runtime.esm.js:1879
Ut @ vue.runtime.esm.js:1839
$t @ vue.runtime.esm.js:1862
en @ vue.runtime.esm.js:4213
before @ vue.runtime.esm.js:4070
dn @ vue.runtime.esm.js:4300
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
changeStage @ importState.js:145
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
processFile @ SettingsImportContacts.vue:117
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
vue.runtime.esm.js:1888 TypeError: Cannot read property 'forEach' of undefined
at u (ncvuecomponents.js:154)
at a.beforeUpdate (ncvuecomponents.js:154)
at $t (vue.runtime.esm.js:1854)
at en (vue.runtime.esm.js:4213)
at hn.before (vue.runtime.esm.js:4070)
at dn (vue.runtime.esm.js:4300)
at Array.<anonymous> (vue.runtime.esm.js:1980)
at Qt (vue.runtime.esm.js:1906)
Ht @ vue.runtime.esm.js:1888
Vt @ vue.runtime.esm.js:1879
Ut @ vue.runtime.esm.js:1839
$t @ vue.runtime.esm.js:1862
en @ vue.runtime.esm.js:4213
before @ vue.runtime.esm.js:4070
dn @ vue.runtime.esm.js:4300
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
setTotal @ importState.js:59
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
setTotal @ importState.js:124
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
He @ parseVcf.js:35
(anonymous) @ addressbooks.js:396
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
setTotal @ importState.js:59
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
setTotal @ importState.js:124
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
He @ parseVcf.js:35
(anonymous) @ addressbooks.js:396
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
dist.js:1 PUT https://***/nextcloud/remote.php/dav/addressbooks/users/***/contacts/A30E9874-4805-49D7-ADF0-4AB4A9707B95.vcf 400 (Bad Request)
(anonymous) @ dist.js:1
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Q @ dist.js:1
a @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Q @ dist.js:1
a @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
gt @ dist.js:1
a @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ze @ dist.js:1
a @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ dist.js:1
(anonymous) @ addressbooks.js:410
(anonymous) @ index.js:4
r @ index.js:3
o @ index.js:23
(anonymous) @ index.js:32
(anonymous) @ index.js:38
a @ index.js:38
(anonymous) @ addressbooks.js:410
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:404
(anonymous) @ addressbooks.js:404
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
Show 35 more frames
addressbooks.js:424 Error
at XMLHttpRequest.n.value.regeneratorRuntime.mark.regeneratorRuntime.wrap.t.abrupt.s.onreadystatechange (dist.js:1)
(anonymous) @ addressbooks.js:424
Promise.catch (async)
(anonymous) @ addressbooks.js:421
(anonymous) @ index.js:4
r @ index.js:3
o @ index.js:23
(anonymous) @ index.js:32
(anonymous) @ index.js:38
a @ index.js:38
(anonymous) @ addressbooks.js:410
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:404
(anonymous) @ addressbooks.js:404
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
incrementDenied @ importState.js:49
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
(anonymous) @ addressbooks.js:423
Promise.catch (async)
(anonymous) @ addressbooks.js:421
(anonymous) @ index.js:4
r @ index.js:3
o @ index.js:23
(anonymous) @ index.js:32
(anonymous) @ index.js:38
a @ index.js:38
(anonymous) @ addressbooks.js:410
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:404
(anonymous) @ addressbooks.js:404
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
translatePlural @ l10n.js:151
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
incrementDenied @ importState.js:49
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
(anonymous) @ addressbooks.js:423
Promise.catch (async)
(anonymous) @ addressbooks.js:421
(anonymous) @ index.js:4
r @ index.js:3
o @ index.js:23
(anonymous) @ index.js:32
(anonymous) @ index.js:38
a @ index.js:38
(anonymous) @ addressbooks.js:410
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:404
(anonymous) @ addressbooks.js:404
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
vue.runtime.esm.js:1888 TypeError: Cannot read property 'forEach' of undefined
at u (ncvuecomponents.js:154)
at a.beforeUpdate (ncvuecomponents.js:154)
at $t (vue.runtime.esm.js:1854)
at en (vue.runtime.esm.js:4213)
at hn.before (vue.runtime.esm.js:4070)
at dn (vue.runtime.esm.js:4300)
at Array.<anonymous> (vue.runtime.esm.js:1980)
at Qt (vue.runtime.esm.js:1906)
Ht @ vue.runtime.esm.js:1888
Vt @ vue.runtime.esm.js:1879
Ut @ vue.runtime.esm.js:1839
$t @ vue.runtime.esm.js:1862
en @ vue.runtime.esm.js:4213
before @ vue.runtime.esm.js:4070
dn @ vue.runtime.esm.js:4300
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
(anonymous) @ addressbooks.js:433
Promise.then (async)
(anonymous) @ addressbooks.js:432
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
(anonymous) @ addressbooks.js:433
Promise.then (async)
(anonymous) @ addressbooks.js:432
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
globals.js:26 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
He @ globals.js:26
i @ globals.js:38
(anonymous) @ l10n.js:103
(anonymous) @ l10n.js:98
translate @ l10n.js:121
translatePlural @ l10n.js:151
O @ underscore.js:762
(anonymous) @ underscore.js:775
(anonymous) @ underscore.js:122
(anonymous) @ ImportScreen.vue?ef44:1
t._render @ vue.runtime.esm.js:3542
r @ vue.runtime.esm.js:4060
hn.get @ vue.runtime.esm.js:4473
hn.run @ vue.runtime.esm.js:4548
dn @ vue.runtime.esm.js:4304
(anonymous) @ vue.runtime.esm.js:1980
Qt @ vue.runtime.esm.js:1906
Promise.then (async)
Gt @ vue.runtime.esm.js:1933
ee @ vue.runtime.esm.js:1990
(anonymous) @ vue.runtime.esm.js:4396
hn.update @ vue.runtime.esm.js:4538
ft.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
changeStage @ importState.js:79
(anonymous) @ vuex.esm.js:725
(anonymous) @ vuex.esm.js:391
(anonymous) @ vuex.esm.js:390
u._withCommit @ vuex.esm.js:521
u.commit @ vuex.esm.js:389
commit @ vuex.esm.js:334
(anonymous) @ addressbooks.js:433
Promise.then (async)
(anonymous) @ addressbooks.js:432
u @ ncvuecomponents.js:298
(anonymous) @ ncvuecomponents.js:298
forEach.t.<computed> @ ncvuecomponents.js:298
Ge @ contacts.js?v=f11e0efe-0:1000
a @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ contacts.js?v=f11e0efe-0:1000
(anonymous) @ addressbooks.js:239
(anonymous) @ vuex.esm.js:732
u.dispatch @ vuex.esm.js:437
dispatch @ vuex.esm.js:331
n.onload @ SettingsImportContacts.vue:121
load (async)
processFile @ SettingsImportContacts.vue:120
$t @ vue.runtime.esm.js:1854
n @ vue.runtime.esm.js:2179
o._wrapper @ vue.runtime.esm.js:6911
Nextcloud version: Nextcloud 17.0.1
Version of the contacts app: 3.1.6
The server is running Fedora 28, but it looks like a client side issue to me.
i have expect the same error, but further more:
the "open your browser console for more details" hint is not really helpful.
i looked inside, but there is no hint which contact cannot be imported.
there are a lot of "The following contact needed a correction that failed: duplicate types ", and two errors (my import showed 2 errors):
Error: ""
r dist.js:1
r dist.js:1
e dist.js:1
e dist.js:1
e dist.js:1
onreadystatechange dist.js:1
BUT: i did not see a really helpful hint inside my console (i am the administrator of the cloud..., i cannot imagine what a user is dooing with that information....)
I just imported the provided vcf file into my database (Nextcloud 18, Contacts app 3.1.8) without any problem, using Firefox 72.0.4. Does the problem still appear? Have you tried a different browser?
I still get a the error with a vcf file exported from a recent Android phone. Tested in both Firefox 73.0.1 (64-bit) and chromium Version 80.0.3987.122 (Developer Build) built on Debian bullseye/sid, running on Debian bullseye/sid (64-bit)
@marmoute This is a different story. A vcf-file exported on an Android device is usually exported in VCARD 2.1 format which is not supported by the calendar app. You have to convert the data to VCARD 3.0 format to be able to import it. This has already been discussed in the Nextcloud help forum, which is the correct place to ask these kind of question 馃槈 This is a bug tracker for the development ONLY.
Then you still have bug then ;-) because apparently you have basic usecase, with an error that you know how to recognize with a clear documented solution. Yet, the user is informed about the common error nor pointed at the usual solution.
Can we improve the app behavior in this case ? (probably in a different bug than this one I assume)
Can we improve the app behavior in this case ? (probably in a different bug than this one I assume)
@marmoute For that we would need a proper support of 2.1
See #492
I just imported the provided vcf file into my database (Nextcloud 18, Contacts app 3.1.8) without any problem, using Firefox 72.0.4. Does the problem still appear? Have you tried a different browser?
Works for me too :)
Closing