contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Raw z-app-generated--contactsinteraction--recent URI visible to user

Open ChristophWurst opened this issue 3 years ago • 15 comments

Describe the bug

Recent contacts show the address but URI instead of the display name.

To Reproduce Steps to reproduce the behavior:

  1. Have recent_contacts enabled
  2. Contact someone
  3. Open the contacts app
  4. Open the entry of this contact
  5. See

Expected behavior

The contact in an address book "Recently contacted".

Actual behavior

Bildschirmfoto von 2021-05-03 19-07-57

Server configuration

The Nextcloud.

ChristophWurst avatar May 03 '21 17:05 ChristophWurst

You can have a displayname on addressbooks backend :)

skjnldsv avatar May 03 '21 17:05 skjnldsv

That is done in \OCA\ContactsInteraction\AddressBook::getProperties. Is the {DAV:}displayname not picked up?

ChristophWurst avatar May 03 '21 17:05 ChristophWurst

I'll investigate :mag_right:

skjnldsv avatar May 03 '21 18:05 skjnldsv

Hello, in my NC21 such a contact is also "read-only". No chance to delete. A solution would befine. With pleasure a manual workaround. ;-)

pm-pm avatar Jul 07 '21 00:07 pm-pm

That address book is virtual and read-only. Write access is not intended. The app responsible for this lives at https://github.com/nextcloud/server/tree/master/apps/contactsinteraction if you want to have a look yourself.

ChristophWurst avatar Jul 07 '21 05:07 ChristophWurst

How do I disable this address book? I now have a contacts list full of people I have no idea who they are or how they got put into my address book, and who I cannot delete, and who are in an addressbook I cannot delete or hide.

dcrobertson01 avatar Sep 04 '21 03:09 dcrobertson01

I am guessing they are the parents of my son's classmates, and they are in my addressbook now because his teacher does not know how to use BCC.

dcrobertson01 avatar Sep 04 '21 03:09 dcrobertson01

Disable the contactsinteraction app.

ChristophWurst avatar Sep 07 '21 12:09 ChristophWurst

Is there any good solution?

When disabling "contactinteraction app" all Contacts disapeer. :(

What is the root cause and how can it be solved? Some instructions whould be helful.

pm-pm avatar Nov 29 '21 19:11 pm-pm

I had a similar issue where a close but incorrectly entered email contact was found, I think from an old calendar invite.

Disabling and re-enabling the contactinteraction app worked as @ChristophWurst suggested here https://github.com/nextcloud/contacts/issues/2187#issuecomment-914258853, thanks!

I suspect the wrong contact came from me initially typing the wrong email into an invite some time ago. It was rather persistent and seemed to always come up as the first suggestion. Very difficult to get rid of. A feature to block/ban suggested contact might be helpful here?

misterfitz avatar Dec 18 '21 02:12 misterfitz

Disabling the contactinteraction does remove those phantom cards, but enabling it again just brings them back. Would I need to clear some data from the app directory or DB?

conspacer avatar Jan 14 '22 12:01 conspacer

Disabling the contactinteraction does remove those phantom cards, but enabling it again just brings them back. Would I need to clear some data from the app directory or DB?

Im also interested to know!

tkurbad avatar Jan 14 '22 22:01 tkurbad

I would also like to know.

iluvatyr avatar Feb 21 '22 21:02 iluvatyr

clearing of those entries is currently not supported. you can try deleting the database entries but if this breaks something you will be on your own.

ChristophWurst avatar Feb 28 '22 10:02 ChristophWurst

Has there been any improvement? I've also got the issue at the moment where I can't delete some of the contacts. It happened once I added a google calendar ics file to nextcloud - maybe that brought across something?

Holmsey123 avatar Aug 21 '22 02:08 Holmsey123

Has there been any improvement? I've also got the issue at the moment where I can't delete some of the contacts. It happened once I added a google calendar ics file to nextcloud - maybe that brought across something?

I would also be happy to see a solution. But in a other issue, some told it will not be fixed: https://github.com/nextcloud/server/issues/27524#issuecomment-895042148

But I don't unterstand it. Why should the recently-contacted-adressbook be read-only? If you once send a mail to mail-address which you wrongly typed in, then it will be always in auto-completion. This seems to me really annoying. But maybe i don't get the point and there is a good reason for this.

new-on-github avatar Sep 30 '22 08:09 new-on-github

Why do these exist in the first place? Google brought me here because one of my contacts was mysteriously duplicated, apparently because I sent them a calendar invite to something? Why would that be?

The new duplicate is read-only and under the group "Recently contacted" with a new Address book entry of "z-app-generated--contactsinteraction--recent"

As a simple end-user, all I know is my contacts are duplicated if I send a calendar invite to anyone already in my contacts and the duplicates are read only so can't be deleted. This means calendar invites are unusable. I tried removing the attendee from the calendar but the undeletable duplicate contact remained.

The solution is "disable contactsinteraction app?" What is that? Where is it? Why isn't it disabled by default if this behaviour seems to be causing stupid end-users like me to have strange issues with duplicating contacts? What even is "recently-contacted-addressbook?"

mokahless avatar Oct 02 '22 05:10 mokahless

The "recently contacted" address book is a good idea, but I disabled the "Contacts interaction" app for the time being.

I'm having exactly the same problems discussed here: some incorrectly typed mail addresses, contacts from calendar invites which I don't want or need, etc. And all of these appear in auto-completion whenever you want to write a mail.

Please add the possibility to delete contacts from the address book and/or add user settings/options for this app to customize/disable some of its features.

tgitnh avatar Apr 13 '23 07:04 tgitnh