[ https://issues.apache.org/jira/browse/AMBARI-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829128#comment-13829128 ]
Antonenko Alexander commented on AMBARI-3836: --------------------------------------------- Committed to trunk. > 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 > > Attachments: AMBARI-3836.patch, changes.patch, > updated_AMBARI-3836.patch > > > 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)