ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12906) Alert notifications are created even if credential fields are left empty
Date Fri, 25 Mar 2016 11:29:25 GMT

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

Antonenko Alexander commented on AMBARI-12906:
----------------------------------------------

[~qinliu] Also please get familiar with :

https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari  
——>

 In general, the following conventions should be followed for all JavaScript code: http://javascript.crockford.com/code.html

Most variables and functions should start with a lower case letter.

Try to avoid creating variables starting from upper case letter.

> Alert notifications are created even if credential fields are left empty
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-12906
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12906
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts
>    Affects Versions: 2.1.0
>            Reporter: Chandana Mirashi
>            Assignee: Qin Liu
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-12906.patch
>
>
> User should not be allowed to save changes if the credential fields are left empty when
creating new Alert Notifications.
> Steps to reproduce:
> 1. Create New Alert Notification
> 2. Enter Name = test
> 3. Tick the checkbox for 'Use Authentication'
> 4. Keep username and password empty
> 5. Click on Save
> 6. New alert notifications is created.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message