[ https://issues.apache.org/jira/browse/AMBARI-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826456#comment-13826456 ]
Aleksandr Kovalenko commented on AMBARI-3806: --------------------------------------------- +1 for the patch. > Cannot save Default configs when overridden config present > ---------------------------------------------------------- > > Key: AMBARI-3806 > URL: https://issues.apache.org/jira/browse/AMBARI-3806 > Project: Ambari > Issue Type: Task > Components: client > Affects Versions: 1.4.2 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Priority: Critical > Fix For: 1.4.2 > > Attachments: AMBARI-3806.patch > > > I had a config that was overridden. I changed the Default value and clicked > Save. The following JS error was seen in the console: > {code} > Uncaught TypeError: Cannot call method 'forEach' of null app.js:14019 > (anonymous function) app.js:14019 > (anonymous function) app.js:14016 > App.MainServiceInfoConfigsController.Em.Controller.extend.saveGlobalConfigs > app.js:14008 > App.MainServiceInfoConfigsController.Em.Controller.extend.saveServiceConfigProperties > app.js:13923 > (anonymous function) app.js:13801 > o jquery-1.7.2.min.js:2 > p.add jquery-1.7.2.min.js:2 > App.MainServiceInfoConfigsController.Em.Controller.extend.restartServicePopup > app.js:13800 > ActionHelper.registeredActions.(anonymous function).handler > ember-latest.js:19458 > (anonymous function) ember-latest.js:11250 > f.event.dispatch jquery-1.7.2.min.js:3 > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)