Bug 246219 - Removing a telepathy account should update nepomuk database
Summary: Removing a telepathy account should update nepomuk database
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: nepomuk-service (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR major
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 11:05 UTC by Daniele E. Domenichelli
Modified: 2013-09-22 14:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele E. Domenichelli 2010-07-30 11:05:59 UTC
When an account is removed, the nepomuk database is not updated, therefore you will get a dirty database.
This means that in your buddy list you will have the buddies of the removed account and their status will be the last status.
Comment 1 Daniele E. Domenichelli 2010-07-30 11:06:38 UTC
I'm not sure if this applies also when removing a contact from the contact list
Comment 2 Martin Klapetek 2013-02-07 12:15:30 UTC
Git commit ada4ef5af71110038b2f8cba8880e406235eba39 by Martin Klapetek.
Committed on 07/02/2013 at 13:14.
Pushed by mklapetek into branch 'master'.

Remove account and its contacts from Nepomuk when the account is removed from Tp

REVIEW: 108820

M  +7    -0    abstract-storage.h
M  +14   -0    account.cpp
M  +2    -0    account.h
M  +2    -0    controller.cpp
M  +24   -0    nepomuk-storage.cpp
M  +1    -0    nepomuk-storage.h

http://commits.kde.org/telepathy-nepomuk-service/ada4ef5af71110038b2f8cba8880e406235eba39
Comment 3 David Edmundson 2013-09-22 14:08:10 UTC
Git commit 0ef7ba3fec76890d73ee46e3a08df17e87030f94 by David Edmundson, on behalf of Martin Klapetek.
Committed on 07/02/2013 at 12:14.
Pushed by davidedmundson into branch 'nepomuk-feeder'.

Remove account and its contacts from Nepomuk when the account is removed from Tp

REVIEW: 108820

M  +7    -0    kpeople/nepomuk-feeder/abstract-storage.h
M  +14   -0    kpeople/nepomuk-feeder/account.cpp
M  +2    -0    kpeople/nepomuk-feeder/account.h
M  +2    -0    kpeople/nepomuk-feeder/controller.cpp
M  +24   -0    kpeople/nepomuk-feeder/nepomuk-storage.cpp
M  +1    -0    kpeople/nepomuk-feeder/nepomuk-storage.h

http://commits.kde.org/telepathy-common-internals/0ef7ba3fec76890d73ee46e3a08df17e87030f94