Page MenuHomePhabricator

parts of the text get duplicated when text exceeds a certain length
Closed, ResolvedPublic

Description

Author: thorsten.maus

Description:
once you add more lines with more text (try 10 lines with at least 20 characters )
parts of the complete text get doublicated.


Version: 1.3.x
Severity: normal
OS: Linux
Platform: PC
URL: http://city.ikatomi.com/index.php?title=Bank

Details

Reference
bz749

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:02 PM
bzimport set Reference to bz749.
bzimport added a subscriber: Unknown Object (MLST).

rowan.collins wrote:

How thoroughly odd. Playing around at
http://city.ikatomi.com/index.php?title=Virtual_City:Sandbox&action=history I
observed two things, neither of which get me any closer to the cause:

  1. When the bug is triggered the text of the article is interrupted at some

point (not necessarily at the end) by "wpTextbox1=", or sometimes "%wpTextbox1="
or even "0%wpTextbox1=", followed by the whole of the article text.

  1. The trigger doesn't seem to just be a certain length of text: when I first

tried, I successfully stored a page with ~740 chars; with a different layout, I
triggered the bug with ~550 chars. This is consistent with the fact that the
"Bank" article referenced is already longer than this. Clearly, whitespace or
newlines have some kind of effect on whatever is causing this.

There's something vaguely reminiscent here of someone (nick "goatmilk" on IRC, I
think) whose forms simply wouldn't receive any data above a certain size. I
think they solved that now, but I'm not sure how: does anyone know if it turned
out to be a PHP bug or what?

goatmilk's problem was solved by this change: http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/
includes/EditPage.php?r1=1.122&r2=1.123 as suggested here: http://bugs.php.net/bug.php?id=22427

This though sounds like bug 217.

rowan.collins wrote:

*** This bug has been marked as a duplicate of 217 ***

thorsten.maus wrote:

an update on the php-version solves this problem ..

my system now runs with php 4.3.9-1
and no more problems occur

(In reply to comment #3)

> *** This bug has been marked as a duplicate of 217 ***

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM