Repository: ambari Updated Branches: refs/heads/trunk af8b1cdfe -> 7b40c5bad
AMBARI-19917. Error to tag is not coming for the action node upon copying.(Padma Priya N via gauravn7) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7b40c5ba Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7b40c5ba Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7b40c5ba Branch: refs/heads/trunk Commit: 7b40c5badbc262ced220d239d029423e4c48500b Parents: af8b1cd Author: Gaurav Nagar <[email protected]> Authored: Thu Feb 9 17:10:31 2017 +0530 Committer: Gaurav Nagar <[email protected]> Committed: Thu Feb 9 17:11:19 2017 +0530 ---------------------------------------------------------------------- .../views/wfmanager/src/main/resources/ui/app/domain/workflow.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7b40c5ba/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js index 3ca20d2..02842c5 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js +++ b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js @@ -116,6 +116,7 @@ var Workflow= Ember.Object.extend(FindNodeMixin,{ }else{ generatedNode = this.nodeFactory.createActionNode(type); generatedNode.addTransitionTo(target); + generatedNode.addTransitionTo(this.get('killNodes').findBy('name',Constants.defaultKillNodeName), "error"); } return generatedNode; },
