Page 1 of 1

more about multi-lingual issues

Posted: Thu Feb 09, 2006 5:18 pm
by eightgr
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.

Re: more about multi-lingual issues

Posted: Thu Feb 09, 2006 7:43 pm
by garvinhicking
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

Multi langual ...

Posted: Fri Feb 10, 2006 8:45 am
by eightgr
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.

Re: Multi langual ...

Posted: Fri Feb 10, 2006 11:51 am
by garvinhicking
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

Works !

Posted: Fri Feb 10, 2006 1:28 pm
by eightgr
Ok it works ! thanks !
Do you know what's file size limit ?

Re: Works !

Posted: Fri Feb 10, 2006 1:57 pm
by garvinhicking
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