Skip to content

BeanUtils does not copy properties with generics from a Proxy since 5.3.0 #26531

@rreitmann

Description

@rreitmann

After upgrading from spring boot 2.3.8 to 2.4.2 our following test case fails:
CopyPropertiesTest

Basically it loads a spring data projection from MongoDB and tries to copy all of its properties with Spring's BeanUtils.copyProperties into another bean. For some reason "collection"-properties are not copied anymore after the upgrade.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions