Bug 1072133 - The time remaining is truncated
Summary: The time remaining is truncated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.15
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 0.16
Assignee: Dan Callaghan
QA Contact: xjia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 02:41 UTC by xjia
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-17 03:01:29 UTC
Embargoed:


Attachments (Terms of Use)
truncated (117.00 KB, image/png)
2014-03-04 02:41 UTC, xjia
no flags Details
Verify BZ#1072133 (121.28 KB, image/png)
2014-03-11 02:51 UTC, xjia
no flags Details

Description xjia 2014-03-04 02:41:27 UTC
Created attachment 870206 [details]
truncated

Description of problem:
If the time remaining is a bit far in the future, for instance 2999 days. The string is truncated.


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

How reproducible:
100%

Steps to Reproduce:
1. Clone a job such as: J:3563
2. Waiting until the first task runs
3.

Actual results:
Time Remaining 2999 da 


Expected results:
Time Remaining 2999 day(s)

Additional info:

Comment 2 Nick Coghlan 2014-03-04 03:14:21 UTC
Users really shouldn't be setting expiry times that long, but the result display redesign for bug 1013445 may want to take this into account.

Comment 3 Raymond Mancy 2014-03-07 06:21:40 UTC
I think this is a real bug. It seems until the './start' is recorded, the '2999 days' is the reported kill time.

I've tried this on a couple of recipes now and found that to be the case, See J:3658 on beaker-devel for example.

Comment 4 Dan Callaghan 2014-03-09 23:03:59 UTC
(In reply to Raymond Mancy from comment #3)
> I think this is a real bug. It seems until the './start' is recorded, the
> '2999 days' is the reported kill time.

I filed bug 1074345 for that. This one will be purely about the display truncation.

Comment 5 Dan Callaghan 2014-03-10 00:58:43 UTC
On Gerrit: http://gerrit.beaker-project.org/2900

Comment 7 xjia 2014-03-11 02:51:55 UTC
Created attachment 872936 [details]
Verify BZ#1072133

Verify:
[root@dhcp-65-142 ~]# bkr watchdog-extend 112590 --by=259113600
259113599

From the attachment, it shows correctly.

Comment 8 Dan Callaghan 2014-03-17 03:01:29 UTC
Beaker 0.16.0 has been released.


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