Contact count includes disabled/inactive addressbooks
Describe the bug
Not necessarily a bug, but as user, I would expect a different behavior.
Steps to reproduce
- Go to contacts
- have several addressbooks shared with you (i did not test using owned addressbooks)
- check the count next to your all members/single contact groups
- disable one adressbook
- check the count again
Expected behavior
Count should change, based on the active addressbooks.
Actual behavior
Count includes inactive address books
Contact version
5.5.1
Operating system
Win10 + Firefox 122.0.1 (64-Bit)
PHP engine version
None
Web server
None
Database
None
Additional info
No response
I can confirm this behaviour with own adressbooks. And I have addition to Expected/Actual behavior:
Expected behavior
Contact Birthdays of Contacts that are in disabled addressbooks are not shown in Calendar app.
Actual behavior
Birthdays of contacts from disabled addressbooks are shown in Calendar app.
Contact Version
7.1.0
Hi,
This should now be fixed by https://github.com/nextcloud/contacts/pull/4442
I will work on the back port today, and it should be part of a release in the next couple weeks.
Backports are in, they will be shipped some time next week.
Please let us know if this is still an issue after the update.
I have run the update and the
Contact Version: 7.1.1
- Contact Count for Groups is still wrong
- Contact Birthdays from Disabled Addresbooks are still shown in the Calendar
Contact Version 7.11 - same behavior as mentioned before.
Hello, I just double checked the fix was released on 7.1.1. Can you please remove browser cache and reload the page. and let me know if the bug still persists
Accidental close still waiting for confirmation
As you can see in this screenshoots, the "All Contacts" counter is updated if an adressbook is disabled, but the counter for the groups is still wrong.
In addition, I have still two more problems:
- brithdays from contacts of a diasabled adressbook are shown in calendar app
- I have a adressbook that shows zero contacts since the last update, but when I sync it via caldav, it is not empty.
But this may be seperate problems not related to this ticket.
As you can see in this screenshoots, the "All Contacts" counter is updated if an adressbook is disabled, but the counter for the groups is still wrong.
Just to make sure, when you refresh the page it gets updated right?
brithdays from contacts of a diasabled adressbook are shown in calendar app
I have a adressbook that shows zero contacts since the last update, but when I sync it via caldav, it is not empty.
Can you please open new issues for these
Yes. The "All Contacts" Counter is updated imediately, the contact groups only after reloading.
I will close this issue as the bug in question is solved. I opened a new issue #4536 for the contact group count