You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/06/11 14:28:00 UTC

[jira] [Commented] (AMBARI-25300) Improper Error Handling when user creates a duplicate alert

    [ https://issues.apache.org/jira/browse/AMBARI-25300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861099#comment-16861099 ] 

Hudson commented on AMBARI-25300:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #520 (See [https://builds.apache.org/job/Ambari-branch-2.7/520/])
AMBARI-25300. Improper Error Handling when user creates a duplicate (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a2514a5bac549f0d853f03b5eac6a5a4ae185cb9])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java


> Improper Error Handling when user creates a duplicate alert
> -----------------------------------------------------------
>
>                 Key: AMBARI-25300
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25300
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.3
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.4
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Scenario: Verify no stack trace is displayed when we try to create a duplicate alert notification
> Expected : User should not be allowed to create a duplicate Alert
> Actual : An error message with complete stack trace is displayed in the response. The Ambari application does not handle error exceptions appropriately when a user is configuring duplicate alert notification. The stack trace discloses back-end database and application framework details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)