Bug 1305182 - Disable OOTB Alert deletion
Summary: Disable OOTB Alert deletion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Dávid Halász
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:alert:usability
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-05 23:48 UTC by Nandini Chandra
Modified: 2018-06-19 16:57 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


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 Nandini Chandra 2016-02-05 23:48:56 UTC
Description of problem:
------------------------
It is currently possible to delete OOTB Alerts.Alert deletion should be disabled.


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


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


Steps to Reproduce:
------------------
1.Navigate to Control -> Explorer page.
2.Click 'All Alerts'. Select any Alert
3.Click 'Configuration', click 'Delete this Alert'


Actual results:
---------------
It is possible to delete OOTB Alerts.


Expected results:
----------------
Disable OOTB Alert deletion 


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

Comment 2 Nandini Chandra 2016-02-05 23:49:27 UTC
This issue also occurs in 5.5.

Comment 4 Dávid Halász 2016-02-17 15:17:04 UTC
Is there any way to determine if an alert is OOTB or not?

Comment 6 CFME Bot 2016-04-19 12:40:41 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/0c613ef49d36733e84bdcff32f2506d8339c7721

commit 0c613ef49d36733e84bdcff32f2506d8339c7721
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Apr 18 18:58:07 2016 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Apr 18 22:15:41 2016 +0200

    Return a flash message if the user tries to delete an OOTB alert
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1305182

 app/controllers/miq_policy_controller/alerts.rb    |  4 ++++
 .../miq_policy_controller/alerts_spec.rb           | 26 ++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

Comment 7 Matouš Mojžíš 2016-04-27 09:20:20 UTC
How to find out which alerts are OOTB and which are not?

Comment 8 Nandini Chandra 2016-04-27 15:59:12 UTC
All the alerts listed on the Control -> Explorer page would be considered as OOTB.

Comment 9 Nandini Chandra 2016-04-27 16:00:36 UTC
Verified that 1)a flash message is displayed when a user tries to delete OOTB alerts  and 2)OOTB alerts cannot be disabled with the fix.

Verified in 5.6.0.4

Comment 11 errata-xmlrpc 2016-06-29 15:36:31 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

Comment 12 Matouš Mojžíš 2018-06-19 16:57:28 UTC
One time issue. Setting qe_test_coverage flag to -.


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