Bug 1064628 - In Editor's Document list View, statistics are not updated immediately
In Editor's Document list View, statistics are not updated immediately
Status: CLOSED CURRENTRELEASE
Product: Zanata
Classification: Community
Component: Component-Logic (Show other bugs)
development
Unspecified Unspecified
medium Severity high
: ---
: 3.3
Assigned To: Alex Eng
Zanata-QA Mailling List
:
: 1056893 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-12 20:47 EST by Ding-Yi Chen
Modified: 2014-03-20 01:47 EDT (History)
5 users (show)

See Also:
Fixed In Version: 3.3.0-SNAPSHOT (20140214-1347)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-20 01:47:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ding-Yi Chen 2014-02-12 20:47:37 EST
Description of problem:

After you complete translated, the statistics in document list view have not update.

Step to reproduce:
1. Complete translated a project (or find a project that fully translated)
2. Clear a translation
3. Retranslate the cleared translation to make the translation 100% Completed again
4. Click Documents (LOCALE) to go to document list view

Actural:
On the statistics of document list shows 99%(0.12hrs) Words
Clicking the stats by Messages did not change either the percentage,
nor the unit of translation (Message)

Expected:
On the statistics of document list should show 100%(0.0hrs) Words
Clicking the stats by Messages should change both the percentage (if applicable),
and unit of translation (Message)

Version-Release number of selected component (if applicable):
Zanata 3.3.0-SNAPSHOT (20140213-0020)
commit d4627b2ebb39f845d


How reproducible:
Always

Step to reproduce:
1. Complete translated a project (or find a project that fully translated)
2. Clear a translation
3. Retranslate the cleared translation to make the translation 100% Completed again
4. Click Documents (LOCALE) to go to document list view

Actural results:
On the statistics of document list shows 99%(0.12hrs) Words
Clicking the stats by Messages did not change either the percentage,
nor the unit of translation (Message)

Expected results:
On the statistics of document list should show 100%(0.0hrs) Words
Clicking the stats by Messages should change both the percentage (if applicable),
and unit of translation (Message)

Additional info:
Comment 1 Sean Flanigan 2014-02-13 01:32:11 EST
Do the stats fix themselves on F5?
Comment 2 Alex Eng 2014-02-13 17:14:23 EST
F5 will fix the problem. The issue here is the live update of project statistic as translation are being done.
Comment 3 Alex Eng 2014-02-13 18:02:42 EST
Pull request:
https://github.com/zanata/zanata-server/pull/375
Comment 4 Ding-Yi Chen 2014-02-13 18:58:12 EST
Yes, reload with Ctrl-R and F5 does update the stats correctly.
Comment 5 Damian Jansen 2014-02-14 00:50:03 EST
Verified at 9c46eb0cc798a1883e066057221a503690c6c6a2
Comment 6 Damian Jansen 2014-02-18 20:57:03 EST
*** Bug 1056893 has been marked as a duplicate of this bug. ***
Comment 7 Sean Flanigan 2014-03-20 01:47:11 EDT
Closing VERIFIED bugs for Zanata server 3.3.2.

Note You need to log in before you can comment on or make changes to this bug.