Skip to content
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

Use of spring.profiles.include in a profile-specific document is not detected when it's configured as a YAML list #26575

Closed
wilkinsona opened this issue May 17, 2021 · 0 comments
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

Forward port of issue #26205 to 2.5.x.

@wilkinsona wilkinsona added status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: bug A general bug labels May 17, 2021
@wilkinsona wilkinsona added this to the 2.5.0 milestone May 17, 2021
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
For setAsText, if the text argument is a file: URL for a path that does not exist, Paths.get(text) is called where text is a file: URL, which doesn't work - the result is an InvalidPathException.

To fix this issue, also check that the resource isn't a file before calling Paths.get(). That way, resources that are files skip to the other branch.

Closes spring-projectsgh-26575
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant