Repository: ambari Updated Branches: refs/heads/branch-2.5 3ca58f29b -> 08b263150
AMBARI-20278. Install Wizard > Select Services: Ambari warns me that "Ambari Infra is not selected" but it is selected (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/08b26315 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/08b26315 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/08b26315 Branch: refs/heads/branch-2.5 Commit: 08b263150d8e6c55f56648455829d75322fb9401 Parents: 3ca58f2 Author: Alex Antonenko <[email protected]> Authored: Tue Apr 11 22:21:40 2017 +0300 Committer: Alex Antonenko <[email protected]> Committed: Tue Apr 11 22:21:40 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step4_controller.js | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/08b26315/ambari-web/app/controllers/wizard/step4_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step4_controller.js b/ambari-web/app/controllers/wizard/step4_controller.js index 9e61a7d..228b2c9 100644 --- a/ambari-web/app/controllers/wizard/step4_controller.js +++ b/ambari-web/app/controllers/wizard/step4_controller.js @@ -207,6 +207,11 @@ App.WizardStep4Controller = Em.ArrayController.extend({ var dependent = this.findProperty('serviceName', dependentService); if (selected && selected.get('isSelected') && dependent && !dependent.get('isSelected')) { this.serviceValidation(callback, dependentService, checkId); + } else { + var unNeededError = this.get('errorStack').filterProperty('id', checkId); + if (unNeededError) { + this.get('errorStack').removeObject(unNeededError[0]); + } } },
