This is an automated email from the ASF dual-hosted git repository.
wenhemin pushed a commit to branch json_split
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/json_split by this push:
new 15b2b1c [FixBug][Jsonsplit] When to save process definition, upload
task code field #4417 (#5178)
15b2b1c is described below
commit 15b2b1c0ece93a54bc67f913b1682038b34abd71
Author: wen-hemin <[email protected]>
AuthorDate: Tue Mar 30 14:28:08 2021 +0800
[FixBug][Jsonsplit] When to save process definition, upload task code field
#4417 (#5178)
* fix: task page, rename "description" to "desc"
* fix: The default value of field dependence is null.
* fix: frontend compile check
* fix: When create process, the version button is set to unavailable
* fix: sql condition bug
* fix: When to save process definition, upload task code field
Co-authored-by: wen-hemin <[email protected]>
---
.../src/js/conf/home/pages/dag/_source/formModel/formModel.vue | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
index 3f60aba..7dfcbc6 100644
---
a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
+++
b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
@@ -693,6 +693,7 @@
}
// Non-null objects represent backfill
if (!_.isEmpty(o)) {
+ this.code = o.code
this.name = o.name
this.taskInstancePriority = o.taskInstancePriority
this.runFlag = o.runFlag || 'NORMAL'
@@ -766,6 +767,7 @@
return {
type: this.nodeData.taskType,
id: this.nodeData.id,
+ code: this.code,
name: this.name,
desc: this.desc,
runFlag: this.runFlag,