Bug 1374005 - Schedule Time value is reset during editing provisioning request
Summary: Schedule Time value is reset during editing provisioning request
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Lucy Fu
QA Contact: Leo Khomenko
URL:
Whiteboard: provision:schedule
Depends On:
Blocks: 1457911 1460380
TreeView+ depends on / blocked
 
Reported: 2016-09-07 16:15 UTC by Leo Khomenko
Modified: 2018-03-06 14:54 UTC (History)
8 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1457911 1460380 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:54:33 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Leo Khomenko 2016-09-07 16:15:41 UTC
Description of problem:


Version-Release number of selected component (if applicable): 5.6.1.2 and upstream


How reproducible:each time


Steps to Reproduce:
1. turn off auto-approval (or request more than 2 VMs on default setup)
2. create request to provision instance and set up schedule date/time (e.g. 18:00 or any other except 00:00) - submit
3. open request editing - check time - time is set to 00:00

expected result: time value remains the same

actual result: time value is reset to 00:00

Additional info: such request will start provisioning if after editing request fits auto-approval without waiting for a time you set up during creating request

Workaround: check schedule time each time you edit and set it up properly.

Comment 2 Greg McCullough 2016-09-07 17:39:56 UTC
Drew - This might end up being a UI issue but first we should verify if the schedule date is making it into the options hash of the request.  Lucy can help here if needed.

Comment 10 CFME Bot 2017-05-29 09:08:29 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/5bf141099e51ceaa5539646f8c2c6e95482ff10a

commit 5bf141099e51ceaa5539646f8c2c6e95482ff10a
Author:     Lucy Fu <lufu>
AuthorDate: Mon May 8 15:50:54 2017 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Mon May 8 15:51:11 2017 -0400

    Fix the issue with schedule time which was reset when editing provisioning request.
    
    It is called req_id instead of id in params hash with existing request.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1374005

 app/controllers/application_controller/miq_request_methods.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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