Bug 1212656

Summary: CFME doesn't complain about duplicate schedule names
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: dclarizi, hkataria, jhardy, mfalesni, mpovolny, nachandr, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:58:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of duplicate schedule names
none
screenshot of duplicate schedule names none

Description Nandini Chandra 2015-04-16 22:52:27 UTC
Created attachment 1015415 [details]
screenshot of duplicate schedule names

Description of problem:
---------------------------------------
CFME doesn't complain about duplicate schedule names.


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


How reproducible:
----------------
Always


Steps to Reproduce:
1.Attempt to create a schedule.Give it the name of an existing schedule
The attached screenshot has 2 pairs of duplicates:new, sc


Actual results:
--------------


Expected results:
----------------


Additional info:
---------------

Comment 3 Nandini Chandra 2015-04-21 21:45:50 UTC
Created attachment 1017152 [details]
screenshot of duplicate schedule names

Comment 6 Milan Zázrivec 2015-04-28 12:34:10 UTC
https://github.com/ManageIQ/manageiq/pull/2769

Comment 7 CFME Bot 2015-05-04 17:00:56 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/143639f6569d8c87b1646b728c1f6425f2cba68b

commit 143639f6569d8c87b1646b728c1f6425f2cba68b
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue Apr 28 14:33:04 2015 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon May 4 09:27:41 2015 +0200

    Properly display error when adding a conflicting schedule
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1212656

 .../ops_controller/settings/schedules.rb           | 31 ++++++++-------
 vmdb/spec/controllers/ops_settings_spec.rb         | 45 ++++++++++++++++++++++
 2 files changed, 63 insertions(+), 13 deletions(-)

Comment 8 Milan Falešník 2015-05-12 11:51:45 UTC
Verified in 5.4.0.0.26, it now does not allow to create same-named schedules

Comment 10 Nandini Chandra 2015-05-12 16:21:24 UTC
Verified in 5.4.0.0.26

Comment 12 errata-xmlrpc 2015-06-16 12:58:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1100.html