Repository: ambari Updated Branches: refs/heads/branch-2.5 a512b3e67 -> 971887938
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/97188793 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/97188793 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/97188793 Branch: refs/heads/branch-2.5 Commit: 971887938eb4afb536c0de35610dcbe5929c6e92 Parents: a512b3e Author: Gaurav Nagar <[email protected]> Authored: Thu Feb 9 17:10:31 2017 +0530 Committer: Gaurav Nagar <[email protected]> Committed: Thu Feb 9 17:10:31 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/97188793/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; },
