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:
zanata-common-api https://github.com/zanata/zanata-api/commit/e7ad80b24820cb43d44da71f69c8fb6e8b8f7bb5 zanata-server https://github.com/zanata/zanata-server/commit/55b17ec10a1d8eae940106d478537d5dbe9b224f
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.
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.
Is this ready for QA?
Tested at 00c4e17487d7f201bebbc392f2a34fccf108c909
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
Created attachment 827563 [details] 2013-11-23_wrong-remaining-horus-2.png
Created attachment 827566 [details] 2013-11-23_wrong-remaining-horus-3.png
Noriko, there's a remaining hour calculation fix coming up in the next release.
Closing VERIFIED bugs for Zanata versions <= 3.1.