Repository: ambari Updated Branches: refs/heads/trunk 403d59324 -> 5a7adeb0e
AMBARI-20501. Add Service Wizard Customize Services step doesn't clear config groups initially (akovalenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5a7adeb0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5a7adeb0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5a7adeb0 Branch: refs/heads/trunk Commit: 5a7adeb0efb20b23e9c92bbeac6a26a5a7076f08 Parents: 403d593 Author: Aleksandr Kovalenko <[email protected]> Authored: Mon Mar 20 17:26:59 2017 +0200 Committer: Aleksandr Kovalenko <[email protected]> Committed: Mon Mar 20 18:54:49 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/routes/add_service_routes.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/5a7adeb0/ambari-web/app/routes/add_service_routes.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js index 73b0cef..9ff0b10 100644 --- a/ambari-web/app/routes/add_service_routes.js +++ b/ambari-web/app/routes/add_service_routes.js @@ -230,6 +230,7 @@ module.exports = App.WizardRoute.extend({ router.get('wizardStep7Controller').set('recommendationsConfigs', null); router.get('wizardStep7Controller').clearAllRecommendations(); addServiceController.setDBProperty('serviceConfigGroups', undefined); + App.ServiceConfigGroup.find().clear(); addServiceController.clearServiceConfigProperties().always(function() { router.transitionTo('step4'); });
