Hello !
last week i've found a strange bug using multilingual plugin. each time I use an url insie a <a href=""></a> containing '_' or other special character serendipity try to do a trackback to this url and failed. Then if i choose another language or make a changes in the entry serendipity duplicates it.
In most of the cases multilangual plugin works but I'm pretty sure this bugg happened with the '_' or '~' charatec inside an url.
Anybody can reproduce this ?
i'm using 1.0 beta version
Thanks.
more about multi-lingual issues
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: more about multi-lingual issues
Can you describe that more in depth? What gets dupliated? The trackbacks, the entry, or what?
Can you describe the exact steps you make and describe exactly what happens and what you think what should not happen?
Regards,
Garvin
Can you describe the exact steps you make and describe exactly what happens and what you think what should not happen?
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/
# 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/
Multi langual ...
I'm sorry but my english is pretty bad. But I will try to explain what I've discovered .
here is the line I suspect to be the problem :
High resolution video <a href="http://web.media.mit.edu/~kimiko/iobrus ... medium.mpg"> here </a>
If I post an entry with such a line inside, serendipity can't perform the trackback but write the entry. If Imade any changes in the entry containing this line, without changing the language, the entry is duplicate. Same thing if I change the language.
If I change the Url and write it without '_' or '~' character it works.
here is the line I suspect to be the problem :
High resolution video <a href="http://web.media.mit.edu/~kimiko/iobrus ... medium.mpg"> here </a>
If I post an entry with such a line inside, serendipity can't perform the trackback but write the entry. If Imade any changes in the entry containing this line, without changing the language, the entry is duplicate. Same thing if I change the language.
If I change the Url and write it without '_' or '~' character it works.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Multi langual ...
The problem is that the MPEG file is too large to be downloaded.
Sadly the HTTP download does not tell the filesize of the trackback, so we cannot abort it. You will only be able to solve this by installing the manual trackback plugin from spartacus and then disable sending trackbacks for entries that have a large binary link.
The entry duplication happens because the entry is not completely saved; usually if the saving is complete, Serendipity uses javascript to set the entry ID value inside the comment form; without it, it thinks a new entry is created.
Regards,
Garvin
Sadly the HTTP download does not tell the filesize of the trackback, so we cannot abort it. You will only be able to solve this by installing the manual trackback plugin from spartacus and then disable sending trackbacks for entries that have a large binary link.
The entry duplication happens because the entry is not completely saved; usually if the saving is complete, Serendipity uses javascript to set the entry ID value inside the comment form; without it, it thinks a new entry is created.
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Works !
The size limit is relative to your webservers memory limit, which is usually 8MB. You'll need to substract about 3 MB which serendipity needs for its framework, so the filesize would be around 5MB.
Regards,
Garvin
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/
# 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/