Bug 281213 - Birthdays are automatically extracted from my kabc vcard contacts and shown in my calendar. The birthdays appear twice.
Summary: Birthdays are automatically extracted from my kabc vcard contacts and shown i...
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Birthdays Resource (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 266451 290435 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-02 12:16 UTC by Vasco
Modified: 2022-06-21 04:35 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
double entries (159.22 KB, image/jpeg)
2011-09-02 12:16 UTC, Vasco
Details
Showing details of the 1st entry (176.27 KB, image/png)
2014-09-03 09:03 UTC, m0nk
Details
Showing details of 2nd entry (176.06 KB, image/png)
2014-09-03 09:05 UTC, m0nk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco 2011-09-02 12:16:18 UTC
Created attachment 63313 [details]
double entries

Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

Birthdays are automatically extracted from my kabc vcard (I use a single vcard resource) contacts and shown in my calendar. The birthdays appear twice. 

The issue first appeard with only one contact. Now it affects all kontacts. 




Reproducible: Didn't try

Steps to Reproduce:
I don't know how this happened. I removed my akonadi birthday resource and added a new one to see if it happens again.

Actual Results:  
Double entries for all birthdays, see attached screenshot.

Expected Results:  
single entry birthdays. 
Updating a contact in kcontact should instantly be noticed by korganizer.
Comment 1 Thorsten Schnebeck 2012-03-25 22:44:19 UTC
 kontact --version
Qt: 4.8.0
KDE: 4.8.1 (4.8.1)
Kontact: 4.8.0

I can secound this effect. I use kolab ressources and here I see the same problem.
I can add one effect:
If I change e.g. the year of birth only the top rendered entry in korganizer is updated
Maybe related: If I change the birthday its not shown in kaddressbook birthday column but its in the calendar and part of a vcard export.
Comment 2 Sergio Martins 2012-07-13 16:05:51 UTC
*** Bug 290435 has been marked as a duplicate of this bug. ***
Comment 3 Sergio Martins 2012-07-16 11:28:22 UTC
*** Bug 266451 has been marked as a duplicate of this bug. ***
Comment 4 Sergio Martins 2012-07-16 11:30:22 UTC
So, the only way to reproduce this is by having two resources, with the same contacts ?
Comment 5 Martin 2012-07-16 17:58:49 UTC
I had the Birthday duplication before I reinstalled my Kubuntu. I had only one contact resource, namely 'personal contacts' (.local/share/contacts/) and two birthday entries for each contact.
Comment 6 Sergio Martins 2012-07-17 13:33:55 UTC
Git commit 307fa1bc6f785f43c9177c2f6d2ca7ca299642c4 by Sergio Martins.
Committed on 17/07/2012 at 15:15.
Pushed by smartins into branch 'master'.

Ignore incidences with duplicate UIDs if they have different ids.

The only case where we allow duplicate UIDs is when they
have the same Item id, which happens for virtual collections.

Historically we never supported duplicate uids, and there's
fragile code like invitations that will break.

Also fixes duplicate birthdays.

Do not backport.

M  +13   -0    calendarsupport/calendar.cpp

http://commits.kde.org/kdepim/307fa1bc6f785f43c9177c2f6d2ca7ca299642c4
Comment 7 m0nk 2014-09-03 08:57:38 UTC
Issue is still here in 4.14.
I use google addressbook as akonadi resource. All birthdays appear twice.
Hoovering over the entries shows that they rely on the same resource.
Comment 8 m0nk 2014-09-03 09:03:17 UTC
Created attachment 88540 [details]
Showing details of the 1st entry

Hoovering over first entry
Comment 9 m0nk 2014-09-03 09:05:10 UTC
Created attachment 88541 [details]
Showing details of 2nd entry
Comment 10 gjditchfield 2022-05-22 16:26:27 UTC
I cannot reproduce this with version 22.04.1 (5.20.1),
with a local contacts resource or a CardDAV resource.
Does this problem still affect you?
Comment 11 Bug Janitor Service 2022-06-06 04:35:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2022-06-21 04:35:30 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!