Page MenuHomePhabricator

Uncaught type error on source language change
Closed, ResolvedPublicBUG REPORT


When source language is updated, section suggestions are being refetched. However, section suggestion fetching, needs appendix section titles in (updated) source language to be available. When these appendix section titles are not available an uncaught error is being thrown.

Steps to reproduce on

  1. Inside dashboard screen click "New translation" button to navigate to "Search for article" screen.
  2. Select a new source language that has not been used as a source/target language before for this session.

Expected results: Uncaught error is being thrown


image2.png (746×1 px, 209 KB)

image1.png (298×588 px, 30 KB)

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SX Fix uncaught error on source language update

Change 692623 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix JS error on source language update

Pginer-WMF triaged this task as Medium priority.May 27 2021, 7:44 AM
This comment was removed by Jpita.