dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Api] Using the TaskDefinitionController-save-single interface can lead to duplicate predecessor tasks.

Open xiaoqisu777 opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Use this API image Adding a task adds an additional front-end node, image image If too many tasks are added, it can cause the workflow details to get stuck when opening.

What you expected to happen

I expect each task to have only one predecessor node, like this image

How to reproduce

use this api >1 time ,you can reproduce the problem image

Anything else

No response

Version

dev

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

xiaoqisu777 avatar Jun 24 '24 07:06 xiaoqisu777

Please don't use the task page to create new task, there is a lot of bugs here, we don't want to change the code here, unless you want to refactor the whole process.

ruanwenjun avatar Jun 26 '24 15:06 ruanwenjun

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Jul 27 '24 00:07 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Aug 21 '24 00:08 github-actions[bot]