Bug 1402939 - Editing an already created schedule for "Container Image compliance" doesn't populate all the existing schedule settings
Summary: Editing an already created schedule for "Container Image compliance" doesn't ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Aparna Karve
QA Contact: Einat Pacifici
URL:
Whiteboard:
Depends On:
Blocks: 1433366 1434847
TreeView+ depends on / blocked
 
Reported: 2016-12-08 16:41 UTC by Raul Mahiques
Modified: 2018-06-05 11:13 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1433366 1434847 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:38:19 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Raul Mahiques 2016-12-08 16:41:21 UTC
Description of problem:
Editing an already created schedule for "Container Image compliance" doesn't populate all the existing schedule settings

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

How reproducible:
Create a schedule
Edit it.

Steps to Reproduce:
1. Settings → Configuration
2. Settings → Schedules
3. Configuration → Add a new Schedule
	Name: OpenSCAP containers analysis
	Description: It triggers OpenSCAP analysis of Containers
	Active: on
	Action: Container Image Compliance Check
	Filter: All container images → Not possible at the moment to filter by tag
	Run: Daily → every: Day
	Time Zone: (GMT+01:00) Zurich
	The rest leave it as default
4. Save
It shows the right information, but then:
5. Configuration --> Edit this Schedule
        Action: Nothing selected



Actual results:
Action is missing.

Expected results:
Action shows the correct action assigned to the schedule.

Additional info:

Comment 3 CFME Bot 2017-03-16 09:38:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/022561afaa9808ce82f7d0e75a7d6b28a7b036e3

commit 022561afaa9808ce82f7d0e75a7d6b28a7b036e3
Author:     Aparna Karve <akarve>
AuthorDate: Mon Mar 13 14:07:51 2017 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Mon Mar 13 14:07:51 2017 -0700

    Fix filter values for container_image_check_compliance
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1402939

 app/controllers/ops_controller/settings/schedules.rb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comment 5 Aparna Karve 2017-03-21 16:19:06 UTC
Note that prior to the fix, the "Container Image compliance" schedules were being created with incorrect values. 
As a corrective action to fixing those broken and already existing "Container Image compliance" schedules, it is important open them in the Edit mode, set the appropriate values and re-save them.

Comment 7 Einat Pacifici 2017-05-29 07:24:35 UTC
Verified. Followed steps to recreate. Now Action does show selected Action.


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