apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.73k stars 4.58k forks source link

[Bug] [dolphinscheduler-api] Delete workflow prompt error #16501

Closed lyyprean closed 1 month ago

lyyprean commented 1 month ago

Search before asking

What happened

Prompts when deleting workflow: DELETE_PROCESS_DEFINITION_USE_BY_OTHER_FAIL(10193, "delete process definition fail, cause used by other tasks: {0}","删除工作流定时失败,被其他任务引用:{0}"),

What you expected to happen

should be :DELETE_PROCESS_DEFINITION_USE_BY_OTHER_FAIL(10193, "delete process definition fail, cause used by other tasks: {0}","删除工作流定义失败,被其他任务引用:{0}"),

How to reproduce

Delete a workflow with subprocesses

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 month ago

Search before asking

What happened

Prompts when deleting workflow: DELETE_PROCESS_DEFINITION_USE_BY_OTHER_FAIL(10193, "delete process definition fail, cause used by other tasks: {0}","删除工作流定时失败,被其他任务引用:{0}"),

What you expected to happen

should be :DELETE_PROCESS_DEFINITION_USE_BY_OTHER_FAIL(10193, "delete process definition fail, cause used by other tasks: {0}","删除工作流定义失败,被其他任务引用:{0}"),

How to reproduce

Delete a workflow with subprocesses

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

SbloodyS commented 1 month ago

I'm confused about this issue. What are the specific problems? @lyyprean

lyyprean commented 1 month ago

When flow A is used as a subflow by flow B, an error message is displayed when flow A is deleted, The error message is: 删除工作流定时失败,被其他任务引用:

SbloodyS commented 1 month ago

When flow A is used as a subflow by flow B, an error message is displayed when flow A is deleted, The error message is: 删除工作流定时失败,被其他任务引用:

This prompt is a correct prompt.

lyyprean commented 1 month ago

it should be '定义' rather than ‘定时’

SbloodyS commented 1 month ago

I see. It's a typo. Would you like to fix it? @lyyprean

lyyprean commented 1 month ago

I can

SbloodyS commented 1 month ago

I can

I've assigned to you. Looking forward to your contribution.