Bug 1202571

Summary: Incorrect flash message after schedule edit is cancelled
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: low Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, mfeifer, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1231385 (view as bug list) Environment:
Last Closed: 2015-12-08 13:03:34 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:
Bug Depends On:    
Bug Blocks: 1231385    

Description Nandini Chandra 2015-03-16 22:51:08 UTC
Description of problem:
----------------------
When edit of a schedule is cancelled,the following message is displayed.

Add of new schedule was cancelled by the user.


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


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


Steps to Reproduce:
------------------
1.Add a schedule under Configure->Configuration->Settings
2.Attempt to edit the schedule and then cancel the edit.
3.Observe that an incorrect flash error message is displayed.


Actual results:
---------------
When edit of a schedule is cancelled,an incorrect flash message is displayed.


Expected results:
---------------
When edit of a schedule is cancelled,a flash message similar to this should be displayed:

Edit of new schedule was cancelled by the user.


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

Comment 2 CFME Bot 2015-06-11 15:34:49 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c53c7b016d2bb1a5fd0d79bd1c742a842399d845

commit c53c7b016d2bb1a5fd0d79bd1c742a842399d845
Author:     Aparna Karve <akarve>
AuthorDate: Thu Jun 4 14:09:30 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Thu Jun 4 14:09:44 2015 -0700

    Retrieve schedule record using params[:id] since @edit does not exist
    
    Schedule Editor is converted to Angular therefore @edit does not exist
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1202571

 vmdb/app/controllers/ops_controller/settings/schedules.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comment 3 Nandini Chandra 2015-09-16 21:18:25 UTC
Verified in master.20150915141925_58436ca

Comment 4 Nandini Chandra 2015-09-29 17:03:56 UTC
Verified in  5.5.0.1

Comment 6 errata-xmlrpc 2015-12-08 13:03:34 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://access.redhat.com/errata/RHSA-2015:2551