AMBARI-8672. Config validations not displaying ERRORs (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/781deba1 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/781deba1 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/781deba1 Branch: refs/heads/trunk Commit: 781deba167a6bd81791cf5ea4dcb5815cc5434d0 Parents: 7efe395 Author: Alex Antonenko <[email protected]> Authored: Tue Dec 23 20:41:27 2014 +0200 Committer: Alex Antonenko <[email protected]> Committed: Tue Dec 23 20:41:27 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/config.js | 2 +- .../app/views/common/configs/service_configs_by_category_view.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/781deba1/ambari-web/app/utils/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js index e6434c6..ddb50e2 100644 --- a/ambari-web/app/utils/config.js +++ b/ambari-web/app/utils/config.js @@ -1248,7 +1248,7 @@ App.config = Em.Object.create({ hasInitialValue: !!stored.hasInitialValue, isOverridable: true, overrides: stored.overrides, - isRequired: true, + isRequired: false, isVisible: stored.isVisible, isFinal: stored.isFinal, defaultIsFinal: stored.defaultIsFinal, http://git-wip-us.apache.org/repos/asf/ambari/blob/781deba1/ambari-web/app/views/common/configs/service_configs_by_category_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/configs/service_configs_by_category_view.js b/ambari-web/app/views/common/configs/service_configs_by_category_view.js index aaef828..2d64452 100644 --- a/ambari-web/app/views/common/configs/service_configs_by_category_view.js +++ b/ambari-web/app/views/common/configs/service_configs_by_category_view.js @@ -514,6 +514,7 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, { filename: siteFileName || '', isUserProperty: true, isNotSaved: true, + isRequired: false, group: selectedConfigGroup.get('isDefault') ? null : selectedConfigGroup, isOverridable: selectedConfigGroup.get('isDefault') }));
