contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Search busted in contact group search

Open botsarenthuman opened this issue 1 year ago • 7 comments

Steps to reproduce

Go to 'Contact groups' Create a new contact group Go to add user to contact group Search doesn't work See error

Expected behavior

Typing in a user name should show users I can add

Actual behavior

Nothing happens when searching

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

Signing status

No response

List of activated apps

No response

Nextcloud configuration

No response

Browser

No response

Client operating system

No response

CardDAV-clients

No response

Web server error log

TypeError: undefined is not a constructor (evaluating 'new OCA.Search(this.search,this.resetSearch)')

Nextcloud log

No response

Browser log

No response

Browser log

No response

botsarenthuman avatar May 17 '24 00:05 botsarenthuman

TypeError: undefined is not a constructor (evaluating 'new OCA.Search(this.search,this.resetSearch)')
mounted — Contacts.vue:238
Hn — vue.esm.js:3753
_n — vue.esm.js:3253
insert — vue.esm.js:4944
k — vue.esm.js:6975
(anonymous function) — vue.esm.js:7189
(anonymous function) — vue.esm.js:2986
r — vue.esm.js:3096
(anonymous function) — vue.esm.js:4182
e — vue.esm.js:4172
(anonymous function) — vue.esm.js:3113
(anonymous function) — vue.esm.js:4742
sa — vue.esm.js:5793
(anonymous function) — main.js:78
(anonymous function) — main.js:83
Global Code — main.js:83

botsarenthuman avatar May 17 '24 00:05 botsarenthuman

I found that only contacts created by app contact could be searched. The users contact from the nectcloud users could not be added.

fandong1993 avatar May 17 '24 01:05 fandong1993

There is no search performed, no network request. I think it's b/c of that JS error

Ah looks like this was dropped recently... https://github.com/nextcloud/contacts/commit/24b9bb264887e7db55e2ba94081353990c6b384e

botsarenthuman avatar May 17 '24 02:05 botsarenthuman

There is no search performed, no network request. I think it's b/c of that JS error

Ah looks like this was dropped recently... 24b9bb2

Hi, there, The problem I mentioned above "The users contact from the nextcloud users could not be added. " is as designed or a bug?

fandong1993 avatar May 17 '24 04:05 fandong1993

Not related to this bug

botsarenthuman avatar May 17 '24 04:05 botsarenthuman

So is it another bug? or just as designed?

fandong1993 avatar May 17 '24 05:05 fandong1993

This is a new bug

botsarenthuman avatar May 17 '24 14:05 botsarenthuman

Nevermind I added contacts to the "Contacts" address book and it worked. They were in the "Accounts" address book and not being searched.

botsarenthuman avatar May 21 '24 15:05 botsarenthuman