Closed
Bug 1681688
Opened 5 years ago
Closed 5 years ago
Input area becomes empty for strings already translated
Categories
(Webtools Graveyard :: Pontoon, defect, P1)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: flod, Assigned: adrian)
References
Details
Attachments
(1 file)
Testing URL: https://pontoon.mozilla.org/it/firefox-for-ios/all-resources/?string=66901
-
Select a translated string in the sidebar, it should show the translation. Then click it again, the translation disappears. Clicking it again doesn't help.
-
Select a translated string, then move down with arrow keys to another translated string. Again, the editor stays empty.
Updated•5 years ago
|
Priority: -- → P1
Comment 1•5 years ago
|
||
Some findings:
- There are at least 4 ways to reproduce the problem with empty editor showing instead of a populated one:
- Click on the same string in the list.
- Navigate to a different string with keyboard (Alt+Up/Down).
- Approve suggestion (with Enter or Approve button).
- Submit a translation.
- The issue is only reproducible in the generic (non-FTL) editor.
FluentEditor.js
andGenericEditor.js
use differentuseLoadTranslation
hooks.- Code within
React.useEffect()
block of theuseLoadTranslation
hook used byGenericEditor.js
is not called.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → adrian
Status: NEW → ASSIGNED
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•