Bug 660633
Summary: | Division by 3 (three) | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jan Sarenik <jsarenik> |
Component: | web UI | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 0.5 | CC: | asaha, bpeck, dcallagh, jneedle, llim, mcsontos, rmancy, xjia |
Target Milestone: | 0.15 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | UX | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-03 02:30:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Sarenik
2010-12-07 12:32:22 UTC
I meant "one piece" of course :-) We can do round() in the TaskBase.progress_bar method, rather than just int() truncation. That should solve most cases (certainly the 1/3 case) although I suspect it still won't guarantee that the rounded percentages will sum to 100 due to floating point representation inaccuracy. http://gerrit.beaker-project.org/2264 Verified. A job with three tasks two successful jobs show the width as 67 + 33. Earlier, it would be showing 66 + 33. Beaker 0.15 has been released. |