[Translate.Next] After submitting a suggestion or translation, the machinery tab still uses the previous strings
Categories
(Webtools Graveyard :: Pontoon, defect, P3)
Tracking
(Not tracked)
People
(Reporter: flod, Assigned: mathjazz)
Details
Attachments
(2 files)
- Enable "Make suggestions", make sure you're on the "MACHINERY" tab.
- Submit a suggestion for a string. I clicked on one of the items available in the MACHINERY tab, and pressed enter.
- The focus moves on the next string, but the machinery is looking for suggestions for the previous string (the one I just submitted).
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
Weird detail:
- After submitting the first string, the one after is reusing the wrong source for machinery.
- If I translate and move to a third string, this one is correct.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Findings:
-
After translation is submitted, Machinery makes two requests: one that takes translated string as input (wrong) and one that takes the next one (correct). The latter request is made later, so it appears under the results for the former one.
-
Duplicate requests are also made for the History and Locales tab, but for some reason only results for the next string appear in the tabs.
-
Requests are only duplicated on Save/Suggest actions, but not on Approval.
A fix would be to unify the behaviour with History and Locales tab.
A proper fix would be to only make the requests when necessary.
Comment 3•6 years ago
|
||
This happened to me for the History tab too. After submitting a suggestion in the "restore-logins-extension" project, I saw it appear in the History tab for the next still untranslated string. I would bet on some race condition there and that the Machinery tab is more prone to the issue as it loads data also from external source like MS terminology and Google translate.
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Updated•4 years ago
|
Description
•