Bug 455125

Summary: Merging two or more contacts in Akonadi Directory resource still keeps two VCARD files
Product: [Applications] kaddressbook Reporter: Juha Tuomala <tuju>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: tokoe
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Juha Tuomala 2022-06-10 13:10:35 UTC
SUMMARY
Contacts Directory resource keeps each contact in one VCARD file. Merging two contacts should leave only one VCARD file left. However the files remain and it causes duplicates to re-appear later when Akonadi re-reads the actual files.

STEPS TO REPRODUCE
1. Make duplicate contacts in kaddressbook that uses Akonadi Directory resource
2. Merge them in kaddressbook
3. See the directory (like grep <lastname>)

OBSERVED RESULT
Previous files exist.

EXPECTED RESULT
They should have been merged into one

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 


kaddressbook-21.12.2-1.fc35.x86_64
kf5-akonadi-contacts-21.12.2-1.fc35.x86_64