You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/05/18 13:59:52 UTC
[ambari] branch trunk updated: AMBARI-23895 Configuration
Validation is throwing errors on correct configuration
This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0bae704 AMBARI-23895 Configuration Validation is throwing errors on correct configuration
0bae704 is described below
commit 0bae7049abf2dc3f4e870846eef8d82b235f5a05
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Fri May 18 13:49:42 2018 +0300
AMBARI-23895 Configuration Validation is throwing errors on correct configuration
---
ambari-web/app/mixins/common/serverValidator.js | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js
index c44a6be..37d6697 100644
--- a/ambari-web/app/mixins/common/serverValidator.js
+++ b/ambari-web/app/mixins/common/serverValidator.js
@@ -385,10 +385,14 @@ App.ServerValidatorMixin = Em.Mixin.create({
if (self.get('validationRequest')) {
self.get('validationRequest').abort();
}
- self.runServerSideValidation().done(function () {
- self.set('validationRequest', null);
- self.set('requestTimer', 0);
- });
+ if (self.get('recommendationsInProgress')) {
+ self.valueObserver();
+ } else {
+ self.runServerSideValidation().done(function () {
+ self.set('validationRequest', null);
+ self.set('requestTimer', 0);
+ });
+ }
}, 500));
}
}.observes('selectedService.configs.@each.value')
--
To stop receiving notification emails like this one, please contact
atkach@apache.org.