Bug 317372 - removing tags does not work
Summary: removing tags does not work
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 10:23 UTC by Anders Lund
Modified: 2017-01-07 22:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Lund 2013-03-26 10:23:34 UTC
When editing tags for a contact, kaddressbook uses a dialog that I suspect comes from nepomuk. This dialog comes with an option to delete a tag, in the GUI represented by a rec X in the right side of the tag in the list. Clicking it, I am asked wheather to remove the tag "from all files". I say yes, and probably, a nepomuk query removes the tag from all files and deletes it.

But the tag is not removed from all contacts.

Instead, contacts that use the tag, now appears to have a unnamed tag - sometimes more, if more tags was removed. Now, edting such a contacts categories leads to a horrible state, namely the display of categories named "nepomuk:/resource=woihtrwlgjrdlfgbdf" or thereabout. How embarassing!

It seems to me, that when the nepomuk tag is removed, action should be taken to remove the corresponding category from all contacts. 

Reproducible: Always

Steps to Reproduce:
1. add some tags to some contacts
2. wait for it to apply throughout the chain
3. edit a contact categries, and use the option to remove a tag. Accept to remove the tag "from all files"
4. edit the tags of a contact which now have empty tags, check or uncheck other tags than the anonymous one[s]
Actual Results:  
some contacts have empty tags.
the contact edited in step 4 have tags named "nepomuk:/...."

Expected Results:  
the removed tag should be removed for real, and no empty/anonymous tags should exist.

My address books are stored in owncloud, but this also affects local addressbooks using vcard files
Comment 1 Denis Kurz 2016-09-24 20:53:08 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 kaddressbook (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:18:02 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.