You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/11/14 16:35:17 UTC
[ambari] branch trunk updated: AMBARI-25361: Unable to import Workflow into Workflow Manager Due to Script Error (#3488)
This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new b03daeb950 AMBARI-25361: Unable to import Workflow into Workflow Manager Due to Script Error (#3488)
b03daeb950 is described below
commit b03daeb950d37d47299446002721bdc4a24362f6
Author: Zhiguo Wu <wu...@apache.org>
AuthorDate: Tue Nov 15 00:35:11 2022 +0800
AMBARI-25361: Unable to import Workflow into Workflow Manager Due to Script Error (#3488)
---
.../wfmanager/src/main/resources/ui/app/domain/workflow-importer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
index dfc687509f..759c41e096 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
@@ -63,8 +63,8 @@ var WorkflowImporter= Ember.Object.extend({
var nodeMap=this.setupNodeMap(workflowAppJson,workflow,Ember.$(xmlDoc));
this.setupTransitions(workflowAppJson,nodeMap);
workflow.set("startNode",nodeMap.get("start").node);
- let globalProperties = workflowJson["workflow-app"].global.configuration.property;
if(workflowJson["workflow-app"].global) {
+ let globalProperties = workflowJson["workflow-app"].global.configuration.property;
if(Ember.isArray(globalProperties)) {
workflow.set("globalSetting", workflowJson["workflow-app"].global);
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org