Trackbacks concatenate after each edit

Found a bug? Tell us!!
Post Reply
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Trackbacks concatenate after each edit

Post by randulo »

The same link keeps adding itself to the "additional links" text field at the bottom afet r each "publish" POST.

using 0.8.2
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Trackbacks concatenate after each edit

Post by garvinhicking »

Can you describe that a bit more in depth? I don't really know what exactly you mean. Screenshots might help. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

In fact I see now this is with regard to serendipity_event_trackback.php. It doesn't seem to check whether a URI is in the list before adding it to that text input field.

I mean that if I check trackbacks in a blog entry and then publish, the link it finds in the entry is put into the text field under the checkbox. I assume that is expected behaviour. But publishing again adds the same link to the field, concatenates it so you have

http://link1;http://link1;http://link1

I just realized that this must be because of the other error I'm having (URI not found) problem. If the automaic trackback detection fails, the string is concatenated.

Ok, it seems I was using the wrong link and when this URI error happens, the link keeps being added in the plugin. Sorry, my fault (again)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for digging deeper to this and finding the error. I'll try to see if I can modify the plugin to skip invalid URLs...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply