Page MenuHomePhabricator

SX: Console errors when going back to dashboard from translating a restored draft translation
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Go to SX application
  2. Pick a section and translate a few sentences/segments
  3. Wait for 3 seconds for the translation to be autosaved
  4. Refresh the page and select to continue the previously created draft translation from the "In progress" dashboard list
  5. Once you have been navigated to the "Pick a sentence" step, click on the back arrow at the top of the screen to go back to the dashboard

What happens?:
Javascript errors are being thrown in the console

What should have happened instead?:
No JS errors should occur

Other information (browser name/version, screenshots, etc.):
Screencast of the issue in greek (el) production wiki:

Event Timeline

ngkountas triaged this task as Medium priority.

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix errors when going back to dashboard from draft translation

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

Change 919028 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix errors when going back to dashboard from draft translation

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

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

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

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

Change 919809 merged by jenkins-bot:

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

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

As demonstrated in the following screencast, as recorded in el wiki, this issue is now fixed:

@Pginer-WMF do you think we could close this task?

@Pginer-WMF do you think we could close this task?

Looks good. Thanks for checking! Closing it now.