Bug 860818

Summary: operation schedule doesn't show proper "repeat every" value
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: fbrychta, hrupp, jkremser
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:15:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 893435    

Description John Mazzitelli 2012-09-26 19:14:38 UTC
Schedule a repeating operation so that you set "Repeat every" to some value (say 12345 seconds or 12345 minutes).

Save it, then go to the Schedules subtab and look at the schedule. The "Repeat every" always shows a value that appears to be in milliseconds, and it always says the units is "seconds" even though you tell it a different one (say minutes or hours). The value actually looks correct (albeit in milliseconds) but clearly this UI display needs to be fixed.

Comment 1 Jirka Kremser 2012-10-02 20:25:24 UTC
fixed in master by 88e982c

http://git.fedorahosted.org/cgit/rhq/rhq.git/diff/?id=88e982c

time:    Tue Oct 2 22:18:32 2012 +0200
commit:  88e982cc45e152fc2025bd73f7e8f7a6ed9d52bb
author:  Jirka Kremser - jkremser
message: [Bug 860818 - operation schedule doesn't show proper "repeat every" value] The "seconds" unit type was used no matter what actual units were selected. Now when the operation is scheduled, the "repeat every" value is persisted to DB in millis and when displaying the details about the op., the millis are converted to human readable form.

Comment 2 Filip Brychta 2013-02-11 09:59:34 UTC
Verified on 
Version: 4.6.0-SNAPSHOT
Build Number: 73a33d5

Comment 3 Heiko W. Rupp 2013-08-31 10:15:55 UTC
Bulk close of old bugs in VERIFIED state.