Bug 1017997 - Remaing hours on statistic in document list inside editor is not showing
Summary: Remaing hours on statistic in document list inside editor is not showing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.1
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 23:49 UTC by Alex Eng
Modified: 2013-11-27 03:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:23:03 UTC
Embargoed:


Attachments (Terms of Use)
2013-11-23_wrong-remaining-horus.png (94.15 KB, image/png)
2013-11-22 04:32 UTC, Noriko Mizumoto
no flags Details
2013-11-23_wrong-remaining-horus-2.png (152.16 KB, image/png)
2013-11-22 04:33 UTC, Noriko Mizumoto
no flags Details
2013-11-23_wrong-remaining-horus-3.png (145.68 KB, image/png)
2013-11-22 04:34 UTC, Noriko Mizumoto
no flags Details

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.


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