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

Improve property placeholder resolution when multiple configurers are declared [SPR-10654] #15282

spring-issuemaster opened this Issue Jun 13, 2013 · 1 comment


None yet
2 participants
Copy link

spring-issuemaster commented Jun 13, 2013

Bozhidar Bozhanov opened SPR-10654 and commented

There are some problems when working with multiple <context:property-placeholder /> are defined (possibly in multiple .xml files)

  • when there are more than one configurers, the "ignore-unresolved" must be set to "true", otherwise startup fails, because one configurer doesn't have all the required properties

  • if there are nested properties obtained from multiple locations, startup fails, because ignore-unresolved does not affect the ignoreUnresolvableNestedPlaceholders property.

Here are some more details on my current issue:

Currently it is solved by setting env.setIgnoreUnresolvableNestedPlaceholders(true), but I think there should be available for configuration via tha *PlaceholderConfigurer. Currently it is a property of the PropertyResolver and is not accessible from anywhere, apart from the Environment

Affects: 3.2 GA

Issue Links:

  • #14623 Using multiple PropertyPlaceholderConfigurer breaks @Value default value behavior ("duplicates")

This comment has been minimized.

Copy link
Collaborator Author

spring-issuemaster commented Jun 20, 2013

Phil Webb commented

This looks like it might possibly be a duplicate of #14623?

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