Closed Bug 1397138 Opened 7 years ago Closed 6 years ago

Adding suggestions must not unfuzzy strings

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstanke, Assigned: mathjazz)

References

()

Details

See the link - the string displayed are actually suggested, even if the are filtered as fuzzy (and counted in the sum pie chart on the top as fuzzy). I have noticed this happens after a next sync.

Likely STR:
1) Have a fuzzy string/imported string.
2) Add a suggestion for it and do not approve or reject it.
3) Wait for a next sync adding new strings (maybe these need to be fuzzy too).
4) Now the imported strings with suggestions from step 2 are counted as fuzzy instead of suggested.

Maybe related to bug 1381852, or can be fixed together with bug 1377969?
When a suggestion is added to a fuzzy string, we should keep treating the string as fuzzy to keep Pontoon and VCS in sync.

That means the string should be:
- identified with the yellow color in the string list
- counted as Fuzzy in the stats
- caught by the Fuzzy filter (instead of Suggested)
- using the fuzzy translation as the "active translation"

Related to the last point, we should change the order of the History tab: fuzzy strings should be displayed above suggestions.
Priority: -- → P2
See Also: → 1431931
I bumbped into this issue while I was working on bug 1481175, so I included the fix in that PR:
https://github.com/mozilla/pontoon/pull/1072/commits/72b7c409c37316f5a10b667b2cb340f93a9795d5
Assignee: nobody → m
Status: NEW → ASSIGNED
Summary: Sometimes strings are counted as fuzzy, even if they are actually in the suggested state → Adding suggestions must not unfuzzy strings
Fixed:
https://github.com/mozilla/pontoon/commit/6db15d17c9707ac1340119acc0e67dba7839fac0
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.