-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Delete old birthday calendar object when moving contact to another ad… #22201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete old birthday calendar object when moving contact to another ad… #22201
Conversation
I only added the signoff line to the commit message. |
Sorry, it has been a while and I was just wondering when this might filter up to a release please? I'd like to cross it off my list (i.e., know I can do some more shuffling/reorganising of my Addressbooks). With thanks in anticipation - B. |
Rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my, I experienced this today!!
This fixes it perfectly! Very nice @cweiske
Sorry I didn't see it before!! 🤗
/backport to stable20 |
/backport to stable21 |
/backport to stable19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of psalm issues though :/
Pushed a fix for it and for the unit tests, let's see |
Thank you, especially for the move to back-port it! |
Pushed a cs/psalm fix! acceptance failure is unrelated and also on master |
…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>
/backport to stable21 |
/backport to stable19 |
…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