Bug 251809

Summary: KOrganizer has a stale copy of my address book
Product: [Applications] korganizer Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.4.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Yeleighton 2010-09-20 11:39:12 UTC
Version:           4.4.5 (using KDE 4.4.4) 
OS:                Linux

The addresses that show up to select a participant come from a stale database disconnected from KAddressBook.

Reproducible: Always

Steps to Reproduce:
1. 
Tell KAddressBook to add a new contact named KDE Bug.

2. 
Tell KOrganizer to create a new appointment.

3. 
Tell KOrganizer to add a new participant.

4. 
Tell KOrganizer to select the new participant.

5. 
Select KDE Bug.

6. 
tail "~/.xsession-errors"

7. 
Tell KOrganizer to quit.

8. 
rename file "/home/krzysztof/.kde4/share/apps/korganizer"

9.
Start KOrganizer.

10.
Tell KOrganizer to quit.

11. 
Restore file "/home/krzysztof/.kde4/share/apps/korganizer".

12.
Rename file "/home/krzysztof/.kde4/share/apps/kabc".

13. 
Tell KOrganizer to create a new appointment.

14. 
Tell KOrganizer to add a new participant.

15. 
Tell KOrganizer to select the new participant.




Actual Results:  
5. 
No such contact.

6.
kdeinit4: preparing to launch /usr/bin/korganizer
korganizer(11371)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/krzysztof/.kde4/share/apps/kabc" 
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kdeinit4: preparing to launch /usr/bin/korganizer
korganizer(11371)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/krzysztof/.kde4/share/apps/kabc" 
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!

9.
Oops!  All events are gone!

15.
Oops!  All addresses are gone!

Expected Results:  
5. 
KDE Bug.

9.
All registered events in place.

15.
The current address book.

OS: Linux (x86_64) release 2.6.34.7-0.2-desktop
Compiler: gcc

Workaround: paste the address directly from KAddressBook (via KMail).
Comment 1 Denis Kurz 2016-09-24 18:49:07 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:13:50 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.