Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Fix-17710][Master] Fix master task dispatch failure by filtering out null map keys.#17711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
njnu-seafish wants to merge10 commits intoapache:dev
base:dev
Choose a base branch
Loading
fromnjnu-seafish:Fix-17710

Conversation

@njnu-seafish
Copy link
Contributor

Purpose of the pull request

close#17710

Brief change log

add filter some null map keys and unit test

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as(please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it todocs/docs/en/guide/upgrade/incompatible.md

@SbloodySSbloodyS added this to the3.4.0 milestoneNov 21, 2025
@SbloodySSbloodyS added priority:middle bugSomething isn't working labelsNov 21, 2025
@SbloodySSbloodyS changed the title[Fix-17710][Master]Fix master task dispatch failure by filtering out null map keys.[Fix-17710][Master] Fix master task dispatch failure by filtering out null map keys.Nov 21, 2025
// of the process instance complement
ICommandParamcommandParam =JSONUtils.parseObject(workflowInstance.getCommandParam(),ICommandParam.class);
StringtimeZone =commandParam.getTimeZone();
StringtimeZone =commandParam !=null ?commandParam.getTimeZone() :null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

commandParam shouldn't be null.


// stream pass params
List<Property>varPools =parseVarPool(taskInstance);
Map<String,Property>prepareParamsMap =newHashMap<>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Revert the unrelated changes.

Comment on lines 257 to 258
// 7. Resolve placeholders (e.g., "${output_dir}") using the current parameter context
resolvePlaceholders(prepareParamsMap);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

preBuildBusinessParams should beforeresolvePlaceholders?

@sonarqubecloud
Copy link

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@caishunfengcaishunfengAwaiting requested review from caishunfengcaishunfeng is a code owner

@SbloodySSbloodySAwaiting requested review from SbloodySSbloodyS is a code owner

@GallardotGallardotAwaiting requested review from GallardotGallardot is a code owner

@ruanwenjunruanwenjunAwaiting requested review from ruanwenjun

At least 2 approving reviews are required to merge this pull request.

Assignees

@njnu-seafishnjnu-seafish

Labels

backendbugSomething isn't workingpriority:middletest

Projects

None yet

Milestone

3.4.0

Development

Successfully merging this pull request may close these issues.

[Bug] [Master] Master task dispatch failed due to a null map key, which is not allowed in JsonSerializer

3 participants

@njnu-seafish@ruanwenjun@SbloodyS

[8]ページ先頭

©2009-2025 Movatter.jp