Skip to content

[stable21] Delete old birthday calendar object when moving contact to another ad… - #26307

Merged
rullzer merged 1 commit into
stable21from
backport/22201/stable21
Mar 26, 2021
Merged

[stable21] Delete old birthday calendar object when moving contact to another ad…#26307
rullzer merged 1 commit into
stable21from
backport/22201/stable21

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #22201

…dress book
When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.
To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.
Resolves: #20492
Signed-off-by: Christian Weiske <cweiske@cweiske.de>
@skjnldsvskjnldsv added the 3. to review Waiting for reviews label Mar 26, 2021
@rullzerrullzer mentioned this pull request Mar 26, 2021
2 tasks
@rullzer
rullzer merged commit 785f6c6 into stable21Mar 26, 2021
@rullzer
rullzer deleted the backport/22201/stable21 branch March 26, 2021 09:45
@rullzerrullzer mentioned this pull request Apr 8, 2021
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: dav

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@skjnldsv@cweiske