Page MenuHomePhabricator

When translating in Page mode, modifying and publishing a message causes its to become empty
Closed, ResolvedPublic

Description

It's an old bug, that only now I bothered to report...

To reproduce:

  1. Open a message group that has some translations.
  2. Switch to the Translated tab.
  3. Switch to the Page view.
  4. Search for something simple in the search box, for example a.
  5. Open a translated message.
  6. Modify the translation text. (It's enough to just hit return in the end and make a null edit.)
  7. Click Publish translation. The next row is displayed, the current row is collapsed.

Observed: The source text and the translation text disappear and the row is shown fully white.

Expected: The source text and the new translation text are supposed to be shown.

Screenshot:

צילום מסך 2020-12-25 ב-9.13.22.png (1×2 px, 538 KB)

Outcome

When a translator translates a message and saves the translation, in certain situations the translation would disappear from the translation interface. This issue was fixed.

Event Timeline

Amire80 claimed this task.
Amire80 added a subscriber: Nikerabbit.

@Nikerabbit, did you do anything to fix it? :)

It was happening for a long time, but now I cannot reproduce it.

Closing. I'll reopen if it happens again.

Actually no, I can reproduce it. I'll update the description.

Change 704336 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TUX Editor: Properly determine next messgae when filter is applied

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

Change 704336 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TUX Editor: Properly determine next message when filter is applied

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

This is fixed, tested on Translatewiki.net