I have a small news site and use the tagedelic views block on our home page. When I submit an article with a misspelled tag, it correctly shows up in the block. When I go back and edit the node to correct the tag, the old tag still shows up in the block (after clearing cached data). I realize that the old tag is saved in the taxonomy list at that point, but with no articles referring to the tag, why would it show up in the block?

CommentFileSizeAuthor
#1 tagadelic_count_terms.patch951 bytestmuras

Comments

tmuras’s picture

StatusFileSize
new951 bytes

This may be the same problem as I've discovered today: tagadelic counts the "hits" for each node without taking node revisions into considerations.
It means that if a node has a tag assigned and if you edit that node 2 times (so there are 3 revisions in total), tagadelic will count this tag as being used 3 times.
In the same way, if you assign and then remove a tag from a node, it will be still counted (for the older revision).
The fix (patch) that changes the SQL query is attached - I've tested it only with MySQL DB.

jaarong’s picture

This must be exactly what is happening, because we do use revisions on this site.

Bèr Kessels’s picture

Version: 6.x-1.2 » 6.x-1.x-dev

please test against latest 6.x-dev version. AFAIK this was fixed in that branch.

Bèr Kessels’s picture

Status: Active » Needs work
Bèr Kessels’s picture

Status: Needs work » Closed (won't fix)

Status "needs work" for a while now. Closing due to nobody working on it.
Please re-open if someone has this issue and wants to work on it. Untill then, I consider it "not an actual problem" :)