Jump to content


Issue information

  • #034190

  • Fixed

  • 3.2.3

  • 3.3.0 Beta 1

  • 0 - None Assigned


Issue Confirmations

  • Yes (2)No (0)
Photo

Topic marked with "tags" icon after moving

Posted by IPBSupport.de on 31 October 2011 - 03:46 AM

If you move a topic to another forum, the new topic has the icon_tag.png icon but there are no tags!

http://screencast.com/t/J3nyQbhdMITf

changed status to: Confirmed - General
changed severity to: 2 - Fair

When you perform the move, it's inserting into core_tags_cache an empty tags result for the moved topic

tag_cache_text has this

a:2:{s:4:"tags";a:0:{}s:6:"prefix";s:0:"";}

Fix could go one of two ways -

1) We could not insert this (probably the best approach, to limit unnecessary database space usage)
2) We could ensure there are tags to show in the skin before showing the icon (suitable fix, but I'd prefer to go with #1, or both)


View Postbfarber, on 02 November 2011 - 05:07 PM, said:

When you perform the move, it's inserting into core_tags_cache an empty tags result for the moved topictag_cache_text has this
a:2:{s:4:"tags";a:0:{}s:6:"prefix";s:0:"";}
Fix could go one of two ways -1) We could not insert this (probably the best approach, to limit unnecessary database space usage)2) We could ensure there are tags to show in the skin before showing the icon (suitable fix, but I'd prefer to go with #1, or both)


I too have this problem and it is becoming very annoying, all move topic now have Tag Icon next to it.  Both of your suggestion didn't help because I do not get what you are trying to say or any instruction on a fix?

Any fix for this yet?


The bug is not yet fixed, hence the 'Confirmed - General' status.


I don't believe there's a fix yet, but there's a way to clear them every now and then through an SQL query (and I hope Jason doesn't mind me posting this):

DELETE FROM [prefix_]core_tags_cache WHERE tag_cache_text = 'a:2:{s:4:"tags";a:0:{}s:6:"prefix";s:0:"";}';
Always back up your DB first. And of course, replace [prefix_] with your prefix, if you have one.


I always forget there's a [sql] bbcode.. :x


changed severity to: 3 - Medium

changed status to: Fixed
changed fixed-in version to: 3.3.0 Beta 1

I cannot reproduce locally - I know this issue has been brought up recently with regards to these forums, so I assume it's been fixed.


Yeah, Matt fixed it recently.


View PostrM//AndY, on 14 November 2011 - 10:50 AM, said:

I don't believe there's a fix yet, but there's a way to clear them every now and then through an SQL query (and I hope Jason doesn't mind me posting this):
DELETE FROM [prefix_]core_tags_cache WHERE tag_cache_text = 'a:2:{s:4:"tags";a:0:{}s:6:"prefix";s:0:"";}';
Always back up your DB first. And of course, replace [prefix_] with your prefix, if you have one.


What do you mean replace with your prefix.  What do I enter as a prefix?


View PostKandice, on 07 February 2012 - 12:05 AM, said:

What do you mean replace with your prefix.  What do I enter as a prefix?
That depends on what you entered during installation.

Open conf_global.php in the root of your installation, and find $INFO['sql_tbl_prefix'].

If you have something like = 'ipb_' in there, then the SQL command would be:

DELETE FROM ipb_core_tags_cache WHERE tag_cache_text = 'a:2:{s:4:"tags";a:0:{}s:6:"prefix";s:0:"";}';

Please be very careful with this. If you're still uncertain, let me know.






0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users