Closed Bug 1686402 Opened 3 years ago Closed 3 years ago

[checks] Warnings behave inconsistently when working with FTL string

Categories

(Webtools Graveyard :: Pontoon, defect, P1)

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: flod, Assigned: mathjazz)

References

Details

I can't totally figure out what's going, but this string should have a warning displayed (duplicate attribute, the error is also in the source).
https://pontoon.mozilla.org/en-GB/all-projects/all-resources/?status=warnings&string=206464

If I try to enter a new suggestion, I should get a warning that the attribute is duplicated, but it doesn't happen. The warning is displayed if I try to approve a suggestion with the error afterwards, or after I reject the suggestion.

Even worse: if I submit a suggestion, then switch to "submit" mode and submit another translation, the string gets approved without any warning.

Seems like a problem in the editor (the warning appears in the string list).

Priority: -- → P2
See Also: → 1618920
Summary: Warnings behave inconsistently when working with FTL string → [checks] Warnings behave inconsistently when working with FTL string

From :flod on chat.mozilla.org:

I have a bug in the UI: this string has a warning, not shown. There's no way to approve the suggestion, Pontoon doesn't do anything
https://pontoon.mozilla.org/it/firefox-accounts/all-resources/?author=saverio.morelli%40outlook.it&status=unreviewed&string=220380

Assignee: nobody → m
Status: NEW → ASSIGNED
Priority: P2 → P1
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.