Bug 1276103 - Deleting a single schedule displays message as - "The selected Report Schedules was deleted" instead of schedule name
Summary: Deleting a single schedule displays message as - "The selected Report Schedul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.6.0
Assignee: Dávid Halász
QA Contact: Ramesh A
URL:
Whiteboard: ui:schedule
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-28 17:48 UTC by Ramesh A
Modified: 2016-06-29 15:01 UTC (History)
8 users (show)

Fixed In Version: 5.6.0.9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:01:46 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
delete flash message (63.55 KB, image/png)
2015-10-28 17:48 UTC, Ramesh A
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Ramesh A 2015-10-28 17:48:29 UTC
Created attachment 1087299 [details]
delete flash message

Description of problem:
Deleting a single schedule displays message as - "The selected Report Schedules was deleted" instead of schedule name

Version-Release number of selected component (if applicable):
5.5.0.7-beta1.3.20151021133253_ed40d96

How reproducible:
100%

Steps to Reproduce:
1. Navigate to cloud intelligence ==> Reports ==> Schedules ==> click on any schedule
2. Click on any schedule ==> Configuration ==> Delete this Schedule from the database
3. Observe the flash message

Actual results:
Displays flash message as "The selected Report Schedules was deleted" instead of schedule name.  Refer the screenshot for further details 

Expected results:
Should display flash message stating the "Schedule <name> was deleted"

Additional info:

Comment 7 CFME Bot 2016-05-31 18:21:01 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2b0ade56e6f8b97f178fe8b8e556504297150435

commit 2b0ade56e6f8b97f178fe8b8e556504297150435
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue May 31 12:41:03 2016 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue May 31 13:01:28 2016 +0200

    Changed flash messages for report schedule deletion
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1276103

 app/controllers/report_controller/schedules.rb     | 15 ++++-----
 .../miq_report_controller/schedules_spec.rb        | 37 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 8 deletions(-)
 create mode 100644 spec/controllers/miq_report_controller/schedules_spec.rb

Comment 8 Ramesh A 2016-06-07 10:41:23 UTC
Good to go.  Verified and working fine in 5.6.0.9-rc2.20160531154046_b4e2f6d

Comment 11 errata-xmlrpc 2016-06-29 15:01:46 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/RHBA-2016:1348


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