Skip to content

Add option to ignore unresolvable nested placeholders - #3311

Open
tallyblue123 wants to merge 2 commits into
spring-cloud:5.0.xfrom
tallyblue123:fix-ignore-unresolvable-nested-placeholder
Open

tallyblue123 wants to merge 2 commits into
spring-cloud:5.0.xfrom
tallyblue123:fix-ignore-unresolvable-nested-placeholder

Conversation

@tallyblue123

Copy link
Copy Markdown

This change improves compatibility when upgrading Config Server for projects with many legacy configuration files containing unresolved nested placeholders.

Signed-off-by: bigfacekitty <bigface.kitty@outlook.com>
@ryanjbaxter

Copy link
Copy Markdown
Contributor

Can you elaborate on the situations where this is needed?

@tallyblue123

tallyblue123 commented Oct 9, 2026 •

Copy link
Copy Markdown
Author

Can you elaborate on the situations where this is needed?

Hi. This is mainly needed for large legacy deployments. After upgrading Spring Cloud Config Server, requests for configuration files containing unresolvable nested placeholders may fail. In some projects, there are too many existing configuration files to update them all immediately. This opt-in switch provides a backward-compatible migration path by allowing such placeholders without failing the entire configuration request.

@ryanjbaxter

Copy link
Copy Markdown
Contributor

What versions are you observing the incompatibility in?

@tallyblue123

Copy link
Copy Markdown
Author

What versions are you observing the incompatibility in?

We have observed this behavior in 5.0.5. Based on our investigation, it appears to have been introduced in 4.4.4. We currently rely on a workaround to keep our legacy configurations working.

@ryanjbaxter

Copy link
Copy Markdown
Contributor

What are the exact versions of the client and server?

@tallyblue123

Copy link
Copy Markdown
Author

What are the exact versions of the client and server?

We are using Spring Cloud Config Server 5.0.5. No Config Client is involved, as the issue can be reproduced by sending an HTTP request directly to the server.

Comment thread docs/modules/ROOT/pages/server/serving-alternative-formats.adoc Outdated
Signed-off-by: bigfacekitty <bigface.kitty@outlook.com>
@tallyblue123
tallyblue123 force-pushed the fix-ignore-unresolvable-nested-placeholder branch from 09c1a20 to 6c18768 Compare October 17, 2026 04:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants