Skip to content

Disable bean overriding by default and provide a configuration property to enable it #13609

Closed
@wilkinsona

Description

@wilkinsona

From what we've seen, overriding one bean definition with another (by providing two definitions with the same name) is most often done accidentally. When it is done, the info log message is almost always missed, leading to hard to diagnose behaviour. We should disable bean overriding by default and provide a configuration property to turn it back on along with failure analysis of the exception that clearly describes the problem and suggests setting the property as a possible action.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions