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

Legacy Data

This issue was migrated from another tracking system. The legacy data at time of import is provided below as a reference.

Ticket ID: 
981
Reported by: 
peter.reiser@gmail.com
Owner: 
evan
Status: 
new
Type: 
enhancement
Component: 
core
Priority: 
3
Version: 
undefined
Milestone: 
0.8

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

Status:active» fixed

I believe tags are correctly deleted when you delete a notice.

#3

Issue Category:enhancement» bug

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

AttachmentSize
hsnap03598.png 147.11 KB
hsnap03599.png 154.39 KB

#4

Status:fixed» active
Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.