Page MenuHomePhabricator

SX: Restoring draft translation after having opened another article/section for translation, doesn't work
Closed, ResolvedPublicBUG REPORT

Description

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

  • 1. Visit Section Translation application
  • 2. Select a page/section from the suggestion lists to translate
  • 3. Proceed to the "Pick a sentence" step
  • 4. Once the step has fully loaded, go back to the dashboard
  • 5. From the "In progress" dashboard list, select a draft translation to continue

What happens?:
After selecting the draft translation and proceeding to the "Pick a sentence" step, the page section contents inside the step are coming from the previously opened page/section and not from the draft translation.

What should have happened instead?:
The contents inside "Pick a sentence" step should be the contents of section of the draft translation.

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

Event Timeline

ngkountas changed the task status from Open to In Progress.Jul 13 2023, 8:00 AM
ngkountas claimed this task.
ngkountas triaged this task as Medium priority.

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix draft restoration after having started another SX

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

Change 937888 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix draft restoration after having started another SX

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

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

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

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

Change 946931 merged by jenkins-bot:

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

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

This issue is now fixed in production. The draft translation properly loads, even after having started another translation previously.

Screencast from greek (el) production wiki:

ngkountas changed the task status from In Progress to Open.Aug 28 2023, 1:43 PM