Skip to content

Incorrect ConfigurationMetadataRepository when loaded from json files containing properties of the same group #25507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

brenuart
Copy link
Contributor

@brenuart brenuart commented Mar 5, 2021

This PR contains a simple test case to illustrate issue described in #25501.
It is based on the existing severalRepositoriesIdenticalGroups test. It loads “foo” and “foo3”.
“foo3” is a copy of “foo2”: it has the same properties except they refer to a group that already exists in “foo” with the same name and TYPE.

Please note that the test will obviously FAIL ;-)

This test is based on the existing “severalRepositoriesIdenticalGroups” test. It loads “foo” and “foo3”.
“foo3” is a copy of “foo2”: it has the same properties except they refer to a group that already exists in “foo” with the same name and *TYPE*.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 5, 2021
@brenuart brenuart changed the title Sample test case to illustrate gh25501 Sample test case to illustrate #gh25501 Mar 5, 2021
@brenuart brenuart changed the title Sample test case to illustrate #gh25501 Sample test case to illustrate gh25501 Mar 5, 2021
@snicoll snicoll added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 5, 2021
@snicoll snicoll added this to the 2.3.x milestone Mar 5, 2021
@snicoll snicoll changed the title Sample test case to illustrate gh25501 Incorrect ConfigurationMetadataRepository when loaded from json files containing properties of the same group Mar 5, 2021
@snicoll snicoll self-assigned this Mar 5, 2021
@snicoll snicoll modified the milestones: 2.3.x, 2.3.10 Mar 5, 2021
snicoll pushed a commit that referenced this pull request Mar 5, 2021
This commit improves SimpleConfigurationMetadataRepository to include
properties that are contributed to an existing configuration metadata
source.

See gh-25507
snicoll added a commit that referenced this pull request Mar 5, 2021
@snicoll snicoll closed this in 034e7d4 Mar 5, 2021
@snicoll
Copy link
Member

snicoll commented Mar 5, 2021

@brenuart thank you for making your first contribution to Spring Boot.

@brenuart
Copy link
Contributor Author

brenuart commented Mar 5, 2021

@snicoll Definitely not my first but always happy to contribute ;-)
This project gave us so much already! You are all doing an amazing work.
Thx.

@snicoll
Copy link
Member

snicoll commented Mar 5, 2021

Apologizes for that Bertrand. You had a "first time contributor" badge on your PR and I didn't remember.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants