Bug 1017997

Summary: Remaing hours on statistic in document list inside editor is not showing
Product: [Retired] Zanata Reporter: Alex Eng <aeng>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1CC: aeng, djansen, noriko, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 03:23:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
2013-11-23_wrong-remaining-horus.png
none
2013-11-23_wrong-remaining-horus-2.png
none
2013-11-23_wrong-remaining-horus-3.png none

Description Alex Eng 2013-10-10 23:49:02 UTC
Description of problem:
2 parts of issue:

i) Remaining hours on statistic is not showing in document list inside editor.

ii) While investigating on this, found out calculation of remaining hours in document list is not using words, but also units.
 

Version-Release number of selected component (if applicable):
3.1.1


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Damian Jansen 2013-10-11 05:08:29 UTC
I notice that there's a (minor) discrepancy between what is shown in the list, and what is shown at the top of the editor - the test data shows 1.9 and 2hrs respectively.

Are there two differing code paths for these? That would be odd.

Comment 3 Alex Eng 2013-10-11 05:29:50 UTC
The remaining hours shown on each document is rounded based on the count for that doc, while remaining hours for version is rounded based on count of all the documents on that version. 

So there will be slight different.

Comment 4 Sean Flanigan 2013-10-11 07:33:25 UTC
Is this ready for QA?

Comment 5 Damian Jansen 2013-10-16 04:25:10 UTC
Tested at 00c4e17487d7f201bebbc392f2a34fccf108c909

Comment 6 Noriko Mizumoto 2013-11-22 04:32:51 UTC
Created attachment 827560 [details]
2013-11-23_wrong-remaining-horus.png

translate/engineering

1. Go to a project
2. Click any version
3.0 Document, statistics and others are shown
3.1 The progress bar located top right shows wrong remaining hours [1]

4.0 click document name and enter into edit mode
4.1 The progress bar located top right shows correct remaining hours [2]
4.2 After translating a while, the progress bar starts showing wrong remaining hours [3]

[1]:2013-11-23_wrong-remaining-horus.png 
[2]:2013-11-23_wrong-remaining-horus-2.png 
[3]:2013-11-23_wrong-remaining-horus-3.png

Comment 7 Noriko Mizumoto 2013-11-22 04:33:52 UTC
Created attachment 827563 [details]
2013-11-23_wrong-remaining-horus-2.png

Comment 8 Noriko Mizumoto 2013-11-22 04:34:32 UTC
Created attachment 827566 [details]
2013-11-23_wrong-remaining-horus-3.png

Comment 9 Alex Eng 2013-11-22 05:02:44 UTC
Noriko, 
there's a remaining hour calculation fix coming up in the next release.

Comment 10 Sean Flanigan 2013-11-27 03:13:01 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 11 Sean Flanigan 2013-11-27 03:15:07 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 12 Sean Flanigan 2013-11-27 03:18:02 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 13 Sean Flanigan 2013-11-27 03:23:03 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 14 Sean Flanigan 2013-11-27 03:32:41 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 15 Sean Flanigan 2013-11-27 03:34:58 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.