freetag: Invalid "Related tags" 1 2 3 (bug?)

Creating and modifying plugins.
Post Reply
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by hanno » Tue Sep 13, 2011 11:27 am

Hi,

On some of my tag pages, freetag links to bogus "Related tags" called 1, 2 and 3.

See example here:
http://www.hboeck.de/plugin/tag/raubdruck

These tags don't exist and thus give a 404 (that's why I found them because google webmastertools told me there are invalid links).

Any idea what's wrong? A bug in freetag? (s9y is latest/1.5.5, freetag is latest/3.29)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by Timbalu » Tue Sep 13, 2011 11:45 am

I just checked this link. I can't follow you.
Everything seems OK for me.
Defined tags for this entry: 68, buch, copyright, politik, raubdruck, which are words in your text (even the 68).
But it seems you can not define a single number (0-9) as a tag. This is not a bug, I assume, since I think you defined them in some entries to be a tag. Just delete these tags in the freetag backend. For my part, you have defined to much tags to be neat, though!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by hanno » Tue Sep 13, 2011 11:48 am

I'm not talking about the tags of the article, but about the "Related tags" on top of the page.
It starts with:

buch copyright politik 1 arbeit ...

(see the 1)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by Timbalu » Tue Sep 13, 2011 11:50 am

yes, read the second part of my post.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by hanno » Tue Sep 13, 2011 12:00 pm

I think you still misunderstand me: There are no such tags as 1, 2, 3, they just appear in the frontend.

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by Timbalu » Tue Sep 13, 2011 12:23 pm

Ok, sorry.
I was not aware about these 'experimental tag fetching' changes. There might be some unlike behaviour with this. Contact or wait for Garvin to investigate this issue.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by LazyBadger » Tue Sep 13, 2011 4:32 pm

hanno wrote:I think you still misunderstand me: There are no such tags as 1, 2, 3, they just appear in the frontend.
Just an idea - some tags may exist before, but they are disappeared now. Maybe you can try Manage Tags - Cleanup Mappings?
Quis custodiet ipsos custodes?

hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Re: freetag: Invalid "Related tags" 1 2 3 (bug?)

Post by hanno » Sun Sep 25, 2011 5:53 pm

I contacted garvin and he found the issue, the problem was that array_merge doesn't work as intended if there are tags which consist only of numbers.

Has been fixed with this cvs commit:
http://php-blog.cvs.sourceforge.net/vie ... 7&r2=1.158

Post Reply