Cache Retrieves Wrong Tags

thebaron88 - August 4, 2008 - 08:53
Project:Tagadelic
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

There is a little bug with the cache code. The cache name just used the vid's imploded with no sperator eg,
vids[] = 2;
vids[] = 3;

thus the id is ..._23_...

which would be the same cache name for vocab 23.

The patch fixes this my just using _ as a seperator for the vid's.

AttachmentSize
tagadelic.module.patch735 bytes

#1

Bèr Kessels - August 14, 2008 - 18:57
Status:needs review» needs work

Good catch and nice solution.

Can one more person please test this patch and confirm that it:
* does not break a site with existing data
* that the old 231_-type cahced items dissapear after a while: we don;t want them to clutter the cache :)

Bèr

#2

Bèr Kessels - August 14, 2008 - 18:58
Status:needs work» needs review

Sorry. Should be "code needs review"

#3

Bèr Kessels - August 14, 2008 - 19:07
Priority:critical» normal

#4

neochief - December 15, 2008 - 21:20
Status:needs review» reviewed & tested by the community

Works for me

#5

chrissearle - December 23, 2008 - 13:12

Works here too. Except for

* that the old 231_-type cahced items dissapear after a while: we don;t want them to clutter the cache :)

But - if http://drupal.org/node/305380 goes in then they'll go ;)

#6

chrissearle - January 1, 2009 - 12:47

Applied patch to 6.x-1.2 - cache is cleared correctly (the old ones do disappear).

I believe this one ready to go in ;)

#7

Bèr Kessels - September 6, 2009 - 14:36

committed to D6 branch.

#8

Bèr Kessels - September 6, 2009 - 14:36
Status:reviewed & tested by the community» fixed

#9

System Message - September 20, 2009 - 14:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.