This is an automated email from the ASF dual-hosted git repository.
wuzhiguo 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 3783617d9e AMBARI-24402: HBase Configuration page fails to load while
UI Deploy when Ranger, KMS are not selected and service configurations are
entered in a particular order (#3397)
3783617d9e is described below
commit 3783617d9ecff9d8877bb95f5d69abbd90ceca4b
Author: Zhiguo Wu <[email protected]>
AuthorDate: Sun Oct 16 01:44:05 2022 +0800
AMBARI-24402: HBase Configuration page fails to load while UI Deploy when
Ranger, KMS are not selected and service configurations are entered in a
particular order (#3397)
---
ambari-web/app/controllers/wizard/step7_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js
b/ambari-web/app/controllers/wizard/step7_controller.js
index 37e7a3c0af..2433d7a9f1 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -2114,11 +2114,11 @@ App.WizardStep7Controller =
Em.Controller.extend(App.ServerValidatorMixin, App.E
var recommendations = this.get('changedProperties.length');
var validations =
this.get('stepConfigs').mapProperty('configsWithErrors.length').reduce(Em.sum,
0);
var configErrorList = this.get('configErrorList');
+ this.set('hasErrors', Boolean(validations +
configErrorList.get('criticalIssues.length')));
this.set('suggestionsCounter', recommendations +
configErrorList.get('issues.length') +
configErrorList.get('criticalIssues.length'));
if (validations !== this.get('validationsCounter')) {
this.ringBell();
}
- this.set('hasErrors', Boolean(validations +
configErrorList.get('criticalIssues.length')));
this.set('validationsCounter', validations);
}.observes('changedProperties.length',
'[email protected]', 'configErrorList.issues.length',
'configErrorList.criticalIssues.length'),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]