소스 검색

AMBARI-7031. FE: Next button not enabled when only /validation ERRORs are there. (ababiichuk via srimanth)

Srimanth Gunturi 10 년 전
부모
커밋
966fff4153
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ambari-web/app/mixins/common/serverValidator.js

+ 2 - 2
ambari-web/app/mixins/common/serverValidator.js

@@ -236,8 +236,8 @@ App.ServerValidatorMixin = Em.Mixin.create({
               if ((property.get('filename') == item['config-type'] + '.xml') && (property.get('name') == item['config-name'])) {
                 if (item.level == "ERROR") {
                   self.set('configValidationError', true);
-                  property.set('warnMessage', item.message);
-                  property.set('warn', true);
+                  property.set('errorMessage', item.message);
+                  property.set('error', true);
                 } else if (item.level == "WARN") {
                   self.set('configValidationWarning', true);
                   property.set('warnMessage', item.message);