revert [fix-#13956] [Master]taskId is null cause NPE #13980 (#14142)

This commit is contained in:
Kerwin 2023-05-18 19:28:27 +08:00 committed by GitHub
parent 503d54aff9
commit c6512edc3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1913,8 +1913,6 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
if (DependResult.SUCCESS == dependResult) {
log.info("The dependResult of task {} is success, so ready to submit to execute", task.getName());
if (!executeTask(task)) {
// todo: don't ste 0 here
task.setId(0);
this.taskFailedSubmit = true;
// Remove and add to complete map and error map
if (!removeTaskFromStandbyList(task)) {