Repository: ambari Updated Branches: refs/heads/branch-2.4 d44782131 -> 65d2f95e3
AMBARI-17468. Next button not enabled at Assign Slaves and Clients page (srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/65d2f95e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/65d2f95e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/65d2f95e Branch: refs/heads/branch-2.4 Commit: 65d2f95e37ad9dc0e798fdcb4d8dcde3349e7a87 Parents: d447821 Author: Srimanth Gunturi <[email protected]> Authored: Tue Jun 28 11:58:25 2016 -0700 Committer: Srimanth Gunturi <[email protected]> Committed: Thu Jun 30 15:28:47 2016 -0700 ---------------------------------------------------------------------- .../stackadvisor/commands/ComponentLayoutValidationCommand.java | 3 +-- ambari-web/app/controllers/wizard/step6_controller.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/65d2f95e/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/ComponentLayoutValidationCommand.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/ComponentLayoutValidationCommand.java b/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/ComponentLayoutValidationCommand.java index 8ca53fe..310046f 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/ComponentLayoutValidationCommand.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/ComponentLayoutValidationCommand.java @@ -44,8 +44,7 @@ public class ComponentLayoutValidationCommand extends StackAdvisorCommand<Valida @Override protected void validate(StackAdvisorRequest request) throws StackAdvisorException { if (request.getHosts() == null || request.getHosts().isEmpty() || request.getServices() == null - || request.getServices().isEmpty() || request.getComponentHostsMap() == null - || request.getComponentHostsMap().isEmpty()) { + || request.getServices().isEmpty()) { throw new StackAdvisorException("Hosts, services and recommendations must not be empty"); } } http://git-wip-us.apache.org/repos/asf/ambari/blob/65d2f95e/ambari-web/app/controllers/wizard/step6_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step6_controller.js b/ambari-web/app/controllers/wizard/step6_controller.js index e900f47..24b03f9 100644 --- a/ambari-web/app/controllers/wizard/step6_controller.js +++ b/ambari-web/app/controllers/wizard/step6_controller.js @@ -222,6 +222,7 @@ App.WizardStep6Controller = Em.Controller.extend(App.BlueprintMixin, { this.set('headers', []); this.clearError(); this.set('isLoaded', false); + this.set('validationInProgress', false); }, /**
