Page MenuHomePhabricator

ContentTranslation triggering error: Error contacting the Parsoid/RESTBASE server (HTTP 400)
Closed, ResolvedPublic

Assigned To
Authored By
Scann
Dec 4 2020, 11:39 AM
Referenced Files
F34749926: text-compare.com_(iPad Pro).png
Nov 16 2021, 10:49 AM
F33935284: bug_2.png
Dec 4 2020, 11:39 AM
F33935283: bug_3.png
Dec 4 2020, 11:39 AM
F33935285: bug_report.png
Dec 4 2020, 11:39 AM
F33935286: bug_4.png
Dec 4 2020, 11:39 AM

Description

I was using the Translation Tool (Chrome version 85.0.4183.121 (on Ubuntu 20.04.1 LTS 64 bits)) with the article "Gender and Food Security" that has a note with a recursive citation here and it BROKE EVERYTHING. It didn't allow me to publish the translation and when I started copy-pasting the text into the wiki (to Género y seguridad alimentaria) it also broke the wiki editor. Here are the screenshots that I took from the bug that I was getting.

Have fun!

bug_4.png (1,069×523 px, 217 KB)

bug_report.png (503×561 px, 72 KB)

bug_2.png (1,514×217 px, 59 KB)

bug_3.png (516×230 px, 57 KB)

Event Timeline

• Aklapper renamed this task from Bug with note in Translation tool triggering parsoid err to ContentTranslation triggering error: Error contacting the Parsoid/RESTBASE server (HTTP 400).Dec 4 2020, 6:30 PM
• Aklapper removed a project: Parsoid.

I created a minimal test page but could not reproduce the issue. The problematic reference was not added to the translation, and publishing showed no issue:

es.wikipedia.org_w_index.php_title=Especial_Traducci%C3%B3n_de_contenidos&from=en&to=es&page=User%3ACXTests%2FT269424&targettitle=T269424(iPad Pro).png (1,366×1,024 px, 291 KB)

Feel free to add more details on how to reproduce this issue.

This might be a silly question but I'm wondering if you were using the same version of the article I was using? https://en.wikipedia.org/wiki/Gender_and_food_security?oldid=991597668

I can't remember right now what I did but I might have fixed the footnote issue in the original after seeing it was causing so many problems.

This might be a silly question but I'm wondering if you were using the same version of the article I was using? https://en.wikipedia.org/wiki/Gender_and_food_security?oldid=991597668

I can't remember right now what I did but I might have fixed the footnote issue in the original after seeing it was causing so many problems.

I compared the problematic reference from the old version you linked and the one I used and they seem to be identical:

text-compare.com_(iPad Pro).png (2,732×1,029 px, 355 KB)

For these cases I recommend trying to isolate the problematic piece of content on a separate sub-page such as this one under a test username. This is useful for engineers to debug and create focused test cases that avoid regressions in the future.

If the issue reappears, feel free to report again and we can try t isolate the problematic piece of wikitext.

Nikerabbit claimed this task.
Nikerabbit moved this task from Bugs to Drafts and publishing on the ContentTranslation board.