Skip to content

[Bug] [API] The task priority and process instance priority might be null and cause NPE #11538

@ruanwenjun

Description

@ruanwenjun

Search before asking

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

What happened

When we execute a workflow might get a NPE, caused by priority is null.

We need to set the default value to be medium.

What you expected to happen

xx

How to reproduce

Update a scheduler, and set the priority to be null, and wait the workflow to be execute.

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

backendbugSomething isn't workingrelease cherry-pickMark this issue/PR had cherry-pick for release version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions