Birthday sync of deleted contacts in owncloud 10.5

Steps to reproduce

  1. Delete a user, where a birthday exists
  2. Resync the birthdays of calendar sudo -u www-data ./occ dav:sync-birthday-calendar owncloud_user
  3. Resync the clients - the user is deleted, but his birthday appears

Expected behaviour

In owncloud 10.4.x works this workflow very well.

Actual behaviour

With the current stable 10.5 the birthdays of deletes users already exists.

Server configuration

Operating system: debian buster

Web server: apache2

Database: mariadb

PHP version: PHP 7.3.19

ownCloud version: 10.5

Updated from an older ownCloud or fresh install: update from owncloud 10.4.x

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above): No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.5.3
  - calendar: 1.6.4
  - comments: 0.3.0
  - configreport: 0.2.0
  - contacts: 1.5.5
  - customgroups: 0.6.0
  - dav: 0.6.0
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_mediaviewer: 1.0.3
  - files_sharing: 0.13.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - gallery: 16.1.1
  - market: 0.6.0
  - notifications: 0.5.2
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - tasks: 0.9.7
  - templateeditor: 0.4.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

Are you using encryption: no

Any suggestion, why the birthday sync does not work?

Hey,

i think then it could be a good idea to report this to the ownCloud team which is accepting bugreports at https://github.com/owncloud/core/issues