-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
specific config properties can't be loaded in v4.0.3 #2293
Comments
Line 223 in 662d9a8
Cuts the first character, if the applicationName does NOT contain a slash ! |
It's correct. Also StringIndexOutOfBoundsException occurs in my demo due to the code. |
Even if StringIndexOutOfBoundsException was not thrown, my profile "uat" would not be loaded. Line 208 in 662d9a8
|
Have the same issue - no longer able to load properties from configuration server after update to 4.0.3 (as part of update to spring cloud 2022.0.3). Had to roll back to 4.0.2. |
The problem remains in 4.0.4; also had to roll back to 4.0.2 |
this appears to be resolved with 4.1.1 |
After I upgrade version of spring-cloud-config-client to 4.0.3 from 4.0.2, specific properties from config-server can't be loaded.
I made a demo to reproduce this. please refer to it.
https://github.com/flashvayne/demo-issue-spring-cloud-config
I saw the source code and I think it is caused by the filter method.
https://github.com/spring-cloud/spring-cloud-config/blob/v4.0.3/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServerConfigDataLoader.java#L196
The text was updated successfully, but these errors were encountered: