Wrong resource progress in All Resources/Projects view
Categories
(Webtools Graveyard :: Pontoon, defect, P3)
Tracking
(Not tracked)
People
(Reporter: Arash-M, Unassigned)
Details
Attachments
(1 file)
28.68 KB,
image/png
|
Details |
For some resources progress percentage is wrong and does not make sense (screenshot attached).
- Translate.Next
- Using Firefox Nightly 71.0a1 (2019-10-21)
- URL of the page in the screenshot: https://pontoon.mozilla.org/translate/fa/firefox/browser/browser/browser.ftl/?status=missing&string=204684
Comment 1•6 years ago
•
|
||
Thanks for the report!
This is a known bug for a long time, but we haven't been tracking it. The problem happens in the All Resources/All Projects view when you submit/review a translation. The stats returned from the server are aggregated for the current translation view, but we also apply them to the resource the affected translation belongs to.
Resources:
https://github.com/mozilla/pontoon/blob/6755ac7726b48236dd680af036df61a5f1a6750a/frontend/src/core/editor/actions.js#L201
https://github.com/mozilla/pontoon/blob/6755ac7726b48236dd680af036df61a5f1a6750a/frontend/src/modules/history/actions.js#L178
Comment 2•6 years ago
|
||
hi, @mathazz I am trying to reproduce the error, but I can't get to see where the percentages are wrong. I would love to go through it, and come up with a fix for it.
Comment 3•6 years ago
|
||
Michael, this is a pretty complex issue, I suggest we find something else instead. Let's sync on IRC/email.
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Description
•