Bug 1207573 - Start date for report schedule is set to tomorrow
Summary: Start date for report schedule is set to tomorrow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.7.0
Assignee: Zita Nemeckova
QA Contact: Jiri Stefanisin
URL:
Whiteboard: report:trivial
Depends On:
Blocks: 1368165
TreeView+ depends on / blocked
 
Reported: 2015-03-31 08:38 UTC by Christian Jung
Modified: 2017-01-11 20:30 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1368165 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:30:30 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Christian Jung 2015-03-31 08:38:52 UTC
Description of problem:
When creating a new report schedule, the start date is set to the following day and not the current one. As a consequence, if a report is set to be executed on an hourly basis, it will not become active on the same day (unless the start date was explicitly changed). 

This is not a big issue but inconvenient for most users, since they do not expect the first scheduled execution for the next day.

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

How reproducible:
always

Steps to Reproduce:
1. create a new report schedule
2. set it to hourly
3. not that start date is set for the next day, not the current one

Actual results:
start date is next day

Expected results:
start date should be current day

Additional info:

Comment 2 Harpreet Kataria 2016-07-27 13:55:05 UTC
Zita,

By design we have initial date set to next day in schedule editor and the initial time to run the report is set to midnight which technically will mean the next day, but in this case if user wants to run the report on hourly basis, we should default the date to today's date but only when user changes to run the report hourly. Let me know if you have any questions.

Thanks,
~Harpreet

Comment 3 Zita Nemeckova 2016-07-28 08:34:49 UTC
https://github.com/ManageIQ/manageiq/pull/10109


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