Page MenuHomePhabricator

SX Block Template adaptation: Loading indicator is displayed forever when MT fails
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Start a translation for a section (probably lead section) that contains a block template for which cxserver returns 500 error. For example the infobox inside this lead section:

https://el.m.wikipedia.org/w/index.php?title=Special:ContentTranslation&page=Ronald%20Vargas&from=en&to=el&sx=true

  1. Proceed to the "Pick a sentence" step to actually translate the content.
  2. Click on that block template

Screencast of the issue in greek (el) wiki:

What happens?:
The loading indicator inside the block template adaptation card at the bottom, shows up forever.

What should have happened instead?:
A message indicating that the adaptation of this template failed should be displayed to the user, as described in T295973.

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix loading indicator for block templates

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

Change 865684 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix loading indicator for block templates

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

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

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

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

Change 867113 merged by jenkins-bot:

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

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

Test Status: QA PASS

Block template does not go into an infinite loop