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

spring.messages.basename not working when I config custom value #18513

Closed
cgoooook opened this issue Oct 4, 2019 · 5 comments
Closed

spring.messages.basename not working when I config custom value #18513

cgoooook opened this issue Oct 4, 2019 · 5 comments

Comments

@cgoooook
Copy link

cgoooook commented Oct 4, 2019

spring.messages.basename when I config custom value, I debug source code, I find String basename = context.getEnvironment().getProperty("spring.messages.basename", "messages"); return default value. can't get my custom value

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 4, 2019
@wilkinsona
Copy link
Member

Thanks for the report. Unfortunately, that isn't enough information for us to diagnose the problem. It sounds very similar to #18440. Perhaps you are disabling bean metadata caching or using a custom JVM that is doing so? If that's not the case and you'd like us to spend some time investigating, please spend some time creating a minimal example that reproduces the problem that you have described and then attach it as a zip to this issue.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Oct 4, 2019
@cgoooook
Copy link
Author

cgoooook commented Oct 5, 2019

I use orcalejdk1.8 , config spring.messages.basename=messages,static.i18n.messages
spring.messages.fallback-to-system-locale=false, it not woring

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Oct 5, 2019
@wilkinsona
Copy link
Member

Thanks for the additional information. So that we can be sure that we're looking at the exact same problem as you are seeing, can you please provide a complete and minimal sample that reproduces the problem? A small project, zipped and attached to this issue is ideal.

@wilkinsona wilkinsona added status: waiting-for-feedback We need additional information before we can continue and removed status: feedback-provided Feedback has been provided labels Oct 5, 2019
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Oct 12, 2019
@spring-projects-issues
Copy link
Collaborator

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants