Page MenuHomePhabricator

SX: Parallel corpora payload fails validation during auto-save
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Open Section Translation in test wiki (or any other wiki with SX enabled)
  2. Select a section to translate
  3. Proceed to the "Pick a sentence" step
  4. Find a paragraph and translate its second sentence, leaving the first sentence untranslated
  5. Wait 3 seconds for the "auto-save" request to be sent

What happens?:
An error occurs inside the browser's console and the auto-save request is never actually sent

What should have happened instead?:
No error should occur and the auto-save request should be sent out properly

Other information (browser name/version, screenshots, etc.):
Screencast from Igbo wiki:

Event Timeline

Change 880487 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX: Fix MT parallel corpora to always use the correct MT service

https://gerrit.wikimedia.org/r/880487

Change 880487 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix MT parallel corpora to always use the correct MT service

https://gerrit.wikimedia.org/r/880487

Change 886831 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230206

https://gerrit.wikimedia.org/r/886831

Change 886831 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20230206

https://gerrit.wikimedia.org/r/886831

Test Status: QA PASS

No failures when skipping the first paragraph to translate subsequent paragraphs