tag is not deleted when delete a message
tag is not deleted when delete a message
| Issue ID: | 981 |
| Issue Category: | bug |
| Component: | core |
| Priority: | normal |
| Status: | active |
| Assigned: | evan |
| Milestone: | 0.8 |
| Keywords: | tagging |
When I delete a message with a unique tag -the tag still shows up in the tag cloud

Updates
#1
We need a method deleteTags in Notice. This one would have to be called from Notice::delete. It would parse tags (just like addTags) and delete all of them which have only one (or zero) notices. Not that difficult.
#2
I believe tags are correctly deleted when you delete a notice.
#3
This is absolutely a bug, not an enhancement!
The attached tags do not only show up in the (personal) tag cloud, if you follow the tag link, the "deleted" notice is still there, too. Also, the "deleted" notice is still counted as well.
It looks like "deleting" only makes a notice disappear from the public stream, but it is not *actually* deleted from the database. IMO that is fundamentally wrong. Just as people have a right to have their notices preserved (as their 'property') they equally have a right to have a right to actually delete them, and not make them only *partially* disappear from view.
There's another aspect to this:
Currently a lot of spammers are are hashtag-spamming. This poisons the hashtag results for normal users - one reason why these spammers should be *completely* removed. But if removing a spammer only makes their dents disappear from public view *but not from the associated tags*, the tags will still be poisoned - many tags have *already* become pretty useless now with all the spam they contain.
I'm attaching two screenshots which demonstrate that:
# deleted notice is still *counted*
# deleted notice does not delete tags
# the tags still link to the actual notice so it is, in fact, still visible
#4
You can also subscribe to the
RSS feed for updates to this issue.