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:
https://github.com/ManageIQ/manageiq-ui-classic/pull/2726
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(-)