Actions
Bug #29203
closedRepository sync in tasks page shows percentage in 17 decimal points
Difficulty:
Triaged:
No
Pull request:
Description
Description of problem:
When we sync a repository and see the task status in the Monitor -> Tasks page, the percentage is not rounded off rather it shows up to 17 decimal points like "0.44999999999999996% Complete"
How reproducible:
Always
Steps to Reproduce:
1. Sync a larger repository (so that the sync doesn't complete quickly)
2. Go to Monitor -> Tasks page and select the repo sync tasks
3. Observe the increase in percent, it says 0.44999999999999996% Complete
Actual results:
Repo Sync tasks show % completion in up to 17 decimal points
Expected results:
It should be rounded to 2 digit.
Updated by Adam Ruzicka about 5 years ago
- Related to Bug #27991: Excessive precision displayed in task progress added
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman-tasks/pull/512 added
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases foreman-tasks-1.0.2 added
Updated by Adam Ruzicka about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 0eb1e2ed1ce29af20d9f9030ad68f47cbd5d020d.
Updated by Adam Ruzicka about 5 years ago
- Fixed in Releases foreman-tasks-1.1.0 added
- Fixed in Releases deleted (
foreman-tasks-1.0.2)
Actions