Skip to content

Return value of BeforeConvertCallback.onBeforeConvert() is not used when actually saving #1295

@idemockle

Description

@idemockle

When I create a copy of the entity passed into BeforeConvertCallback.onBeforeConvert(), make changes to the copy, then return the copy, the original entity object is used to generate the insert query instead of the modified copy. I would expect the copy to be used instead, otherwise it's hard for me to see why onBeforeConvert() would return a value.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions