The current import works well, but for the cases when it fails it does not report any errors as the error does not get set properly.
It would be nice to have some the contact it fails on printed out (even to the console would be helpful)
let vData = ICAL.stringify(contact.vCard.jCal)
// push contact to server and use limit
requests.push(limit(() => contact.addressbook.dav.createVCard(vData)
.then((response) => {
// setting the contact dav property
Vue.set(contact, 'dav', response)
// success, update store
context.commit('addContact', contact)
context.commit('addContactToAddressbook', contact)
context.commit('extractGroupsFromContacts', [contact])
context.commit('incrementAccepted')
})
.catch((error) => {
// error is not set properly
context.commit('incrementDenied')
console.error(error)
})
))
Steps to reproduce
Open Import
select contacts with maleformed content
no error
Problems that I happens with importing contacts that contain special characters like emojis, contacts that do not contain characters as names, contatct that dont have a name set
The following contacts are example contacts that will produce an error
The current import works well, but for the cases when it fails it does not report any errors as the error does not get set properly. It would be nice to have some the contact it fails on printed out (even to the console would be helpful)
Steps to reproduce
Problems that I happens with importing contacts that contain special characters like emojis, contacts that do not contain characters as names, contatct that dont have a name set
The following contacts are example contacts that will produce an error
Expected behaviour
A error message is shown that includes the contact the import had problems with.
Actual behaviour
Non informational errors like the following are reported
Server configuration
Operating system: FreeNas
Web server: nginx
Database: mysql Version: 5.6.42
PHP version: 7.1.25
ownCloud version: 15.0.0
Contacts version: 1.6.4
Updated from an older ownCloud or fresh install: fresh install from freeNas plugin