incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3836) Unable to close manage-config-groups dialog when only Default group present
Date Thu, 21 Nov 2013 00:05:36 GMT
Antonenko Alexander created AMBARI-3836:
-------------------------------------------

             Summary: Unable to close manage-config-groups dialog when only Default group
present
                 Key: AMBARI-3836
                 URL: https://issues.apache.org/jira/browse/AMBARI-3836
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.4.3
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 1.4.3


I had only the Default config-group when I launched the manage config-groups dialog. When
I clicked on Cancel or X, it would not close dialog with the following error:
{noformat}
Uncaught TypeError: Cannot read property 'id' of null 
{noformat}

This was in method {{updateConfigGroupOnServicePage()}} at the first line below
{code}
selectedConfigGroup = managedConfigGroups.findProperty('id', selectedConfigGroup.id);
        if(selectedConfigGroup){
          mainServiceInfoConfigsController.set('selectedConfigGroup', selectedConfigGroup);
        }else{
          mainServiceInfoConfigsController.set('selectedConfigGroup',  managedConfigGroups.findProperty('isDefault',
true));
        }
{code}




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message