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

ReloadableResourceBundleMessageSource reads only first property file [SPR-37] #4772

Closed
spring-projects-issues opened this issue Feb 12, 2004 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Rainer Schmitz opened SPR-37 and commented

When providing more then one property file in ReloadableResourceBundleMessageSource, only the first one is read.

The method calculateAllFilenames(String basename, Locale locale) caches filenames only with locale as key, so every call but the first will get the same result (for the same locale).


Affects: 1.0 RC1

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Oops, filename caching was a last minute addition - so was this bug... Juergen

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 10, 2019
@spring-projects-issues spring-projects-issues added this to the 1.0 RC2 milestone Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant