Skip to content

Misleading alias definition example in reference documentation, part 1.3.1 [SPR-17536] #22068

@spring-projects-issues

Description

@spring-projects-issues

Amir Pashazadeh opened SPR-17536 and commented

In the later example documentation describes a situation for Subsystem A and SubSystem B, the example must perform the same thing on both, but it does not. I believe its some typo in the example XML, and must become:
 

<alias name="subsystemA-dataSource" alias="myApp-dataSource"/>
<alias name="subsystemB-dataSource" alias="myApp-dataSource" />

Affects: 5.1.2

Reference URL: https://docs.spring.io/spring/docs/5.1.2.RELEASE/spring-framework-reference/core.html#beans-beanname-alias

Referenced from: commits 80b8382, 0761446, 9600e01

Backported to: 5.0.11, 4.3.21

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions