Skip to content

[Bug] [API] Workflow definition save failed: parameter placeholder not replaced #17658

@leehaut

Description

@leehaut

Search before asking

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

What happened

When I define a workflow and select a plugin that hasn’t been configured, such as Shell, an error occurs when I click Save as follows:

Image

http://127.0.0.1:12345/dolphinscheduler/projects/156771480174976/workflow-definition

{
    "code": 10001,
    "msg": "request parameter {0} is not valid",
    "data": null,
    "failed": true,
    "success": false
}

What you expected to happen

The placeholder {0} in the error message can be replaced correctly

How to reproduce

  • In standalone mode, a certain task plugin is not configured.
  • Select this component on the page.
  • Save the workflow.

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions