You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2013/11/21 01:05:36 UTC
[jira] [Created] (AMBARI-3836) Unable to close manage-config-groups
dialog when only Default group present
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)