Contacts: Cannot switch contact after deleting address (t.trim is not a function)

Created on 3 Aug 2020  路  3Comments  路  Source: nextcloud/contacts

  1. Go to a contact and remove the address-field.
  2. Try to switch to another contact by clicking on another contact in the left-navigation-bar ... you cannot switch

The error in the browser-console is:

vue.runtime.esm.js:1888 
TypeError: t.trim is not a function
    at contact.js:264
    at Array.filter (<anonymous>)
    at t.get (contact.js:264)
    at a.get (ContactDetails.vue:416)
    at dn.get (vue.runtime.esm.js:4479)
    at dn.evaluate (vue.runtime.esm.js:4584)
    at a.groups (vue.runtime.esm.js:4836)
    at a.<anonymous> (ContactDetails.vue?a439:14)
    at a.t._render (vue.runtime.esm.js:3548)
    at a.r (vue.runtime.esm.js:4066)

Server configuration

Operating system: Linux
Web server: Apache
Database: MySQL 5.7.29
PHP version: 7.3.15
Nextcloud version: 19.0.1
Contacts version: 3.3.0

Client configuration

Browser: Chrome

3. to review bug

All 3 comments

Hey!
Thanks, fix is in https://github.com/nextcloud/contacts/pull/1732
Can you test this release?
contacts.tar.gz

Wooooow. You're quick ... I don't know what to say.
I tested it out and it works like a charm. I tested it with my contacts (not the file you provided). Hope that's ok.

Thanks for your quick fix! That's so great. Fixed in less than an hour!!

Thanks for the help! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

caugner picture caugner  路  3Comments

ArnY picture ArnY  路  5Comments

Spartachetto picture Spartachetto  路  3Comments

spoorun picture spoorun  路  5Comments

keunes picture keunes  路  4Comments