You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/09/22 07:24:34 UTC
[dolphinscheduler] branch 3.1.0-prepare updated: [BUG]Delete Setting ID (#12096)
This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch 3.1.0-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.1.0-prepare by this push:
new 1e59250055 [BUG]Delete Setting ID (#12096)
1e59250055 is described below
commit 1e5925005502dcabbf1f28dc24cbb424bed94ab9
Author: jackfanwan <61...@users.noreply.github.com>
AuthorDate: Thu Sep 22 12:12:43 2022 +0800
[BUG]Delete Setting ID (#12096)
* Delete Setting ID
* modify id
Co-authored-by: jackfanwan <fa...@kezaihui.com>
---
.../dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
index e753fce125..7123472914 100644
--- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
+++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
@@ -1303,7 +1303,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return false;
}
processDefinition.setName(importProcessDefinitionName);
- processDefinition.setId(0);
+ processDefinition.setId(null);
processDefinition.setProjectCode(projectCode);
processDefinition.setUserId(loginUser.getId());
try {