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

Application fails to start if an external config is conditioned by a profile, which is not active #24798

Closed
encircled opened this issue Jan 13, 2021 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@encircled
Copy link
Contributor

As pointed out here #24497 (comment):

When an external config is conditioned by a profile, ConfigDataLocationNotFoundException is thrown during startup if that profile is not active, i.e.

spring:
  config:
    activate:
      on-profile: dev
    import: file:./config/additional.yaml

will fail unless dev profile is active

@encircled
Copy link
Contributor Author

that was fixed already #24584

@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants