Bug 1493386 - We cannot backdate the schedule once you schedule it
Summary: We cannot backdate the schedule once you schedule it
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.10.0
Assignee: Milan Zázrivec
QA Contact: Pavol Kotvan
URL:
Whiteboard:
Depends On:
Blocks: 1514525 1569127
TreeView+ depends on / blocked
 
Reported: 2017-09-20 05:46 UTC by Neha Chugh
Modified: 2021-03-11 15:48 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1514525 1569127 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:56:22 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Neha Chugh 2017-09-20 05:46:42 UTC
Description of problem:
We cannot backdate the schedule once you schedule it.

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Configuration -> Settings -> Schedules
2. Create a schedule to run a custom automate instance. Choose the action as Automate task and choose the future date say if today is 20 Sep 17 then choose the 2 months from now i.e. 20th Nov.
3. Now edit the schedule and change the date from 20th Nov to 21st Sep. you cannot change the date.

Actual results:

we cannot backdate the schedule.

Expected results:

It should edit the date.

Additional info:

Comment 5 CFME Bot 2017-11-16 14:04:29 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/092202923a5396b08662f6cfe4c8f7c785cb00ae

commit 092202923a5396b08662f6cfe4c8f7c785cb00ae
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Oct 5 16:22:48 2017 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue Nov 14 18:21:51 2017 +0100

    Use miq-calendar directive in schedule editor
    
    This would fix some problems with datepicker-init:
    1. the controller now can work with Date object internally
    2. the controller can now correctly set datepicker start date
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1493386

 .../schedule/schedule_form_controller.js            |  7 +++----
 app/views/ops/_schedule_form_timer.html.haml        | 21 ++++++++-------------
 .../schedule/schedule_form_controller_spec.js       |  4 ++--
 3 files changed, 13 insertions(+), 19 deletions(-)


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