Skip to content

Improper validation of returned values in AbstractDependentResource #1179

Closed
@metacosm

Description

@metacosm

If a Creator or Updater implementation returns null for some reason, the null value is propagated without initial obvious issue, leading in problems down the line due to the temporary cache not containing the proper state. The logic should check the returned value for null and throw an exception instead of propagating the value.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions