You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2015/05/20 20:05:00 UTC

[jira] [Created] (AMBARI-11280) Unable to save configs after custom value in Combo widget

Andrii Babiichuk created AMBARI-11280:
-----------------------------------------

             Summary: Unable to save configs after custom value in Combo widget
                 Key: AMBARI-11280
                 URL: https://issues.apache.org/jira/browse/AMBARI-11280
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.1.0
            Reporter: Andrii Babiichuk
            Assignee: Andrii Babiichuk
             Fix For: 2.1.0


Go to Hive service configs and access config "Choose Authorization". Now put the config in escape-hatch mode and enter the value 'Foo'. Focus out of the field and you will see below JS exception
{noformat}
Uncaught TypeError: Cannot read property 'get' of undefined
App.ComboConfigWidgetView.App.ConfigWidgetView.extend.generateWidgetValue @ app.js:166116
App.ComboConfigWidgetView.App.ConfigWidgetView.extend.setConfigValue @ app.js:166139
App.ComboConfigWidgetView.App.ConfigWidgetView.extend.setValue @ app.js:166171
Ember.wrap.newFunc @ vendor.js:2608(anonymous function) @ app.js:166525invokeAction @ vendor.js:4833
iterateSet @ vendor.js:4815
sendEvent @ vendor.js:4932
notifyObservers @ vendor.js:3524
Ember.notifyObservers @ vendor.js:3639
propertyDidChange @ vendor.js:4272
ChainNodePrototype.chainDidChange @ vendor.js:3987
ChainNodePrototype.chainDidChange @ vendor.js:3985
ChainNodePrototype.didChange @ vendor.js:4022
notifyChains @ vendor.js:4050
chainsDidChange @ vendor.js:4065
propertyDidChange @ vendor.js:4271
set @ vendor.js:3078
Ember.Observable.Ember.Mixin.create.set @ vendor.js:9519
App.EnhancedConfigsMixin.Em.Mixin.create.updateDependentConfigs @ app.js:64391
App.EnhancedConfigsMixin.Em.Mixin.create.dependenciesSuccess @ app.js:64118
Em.Object.extend.send.opt.success @ app.js:152088
f.Callbacks.o @ vendor.js:106
f.Callbacks.p.fireWith @ vendor.js:106w @ vendor.js:108f.support.ajax.f.ajaxTransport.send.d @ vendor.js:108
{noformat}

Similar exceptions happen when I attempt to save, and I am unable to save the configs.



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