You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2023/07/06 01:05:52 UTC

[dolphinscheduler] branch 3.1.8-prepare updated: 修复Issue-14397:由于导入的工作流没有设置taskExecuteType导致在任务定义页面中无法展示出来,地址:https://github.com/apache/dolphinscheduler/issues/14397 (#14398)

This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch 3.1.8-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.1.8-prepare by this push:
     new 967bd5ee4d 修复Issue-14397:由于导入的工作流没有设置taskExecuteType导致在任务定义页面中无法展示出来,地址:https://github.com/apache/dolphinscheduler/issues/14397 (#14398)
967bd5ee4d is described below

commit 967bd5ee4dc5210f202d785703934201dfb18b35
Author: Gavin Hawk <10...@users.noreply.github.com>
AuthorDate: Tue Jul 4 10:47:15 2023 +0800

    修复Issue-14397:由于导入的工作流没有设置taskExecuteType导致在任务定义页面中无法展示出来,地址:https://github.com/apache/dolphinscheduler/issues/14397 (#14398)
    
    Co-authored-by: huangjp@zetyun.com <hu...@zetyun.com>
---
 .../java/org/apache/dolphinscheduler/dao/entity/TaskDefinitionLog.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskDefinitionLog.java b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskDefinitionLog.java
index f070fdb165..df69adcaaf 100644
--- a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskDefinitionLog.java
+++ b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskDefinitionLog.java
@@ -72,6 +72,7 @@ public class TaskDefinitionLog extends TaskDefinition {
         this.setModifyBy(taskDefinition.getModifyBy());
         this.setCpuQuota(taskDefinition.getCpuQuota());
         this.setMemoryMax(taskDefinition.getMemoryMax());
+        this.setTaskExecuteType(taskDefinition.getTaskExecuteType());
     }
 
     public int getOperator() {