You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The rest-messages resource bundle mechanics are at bit odd #2392
I wanted to customize some stuff in my HalForms responses (prompt for example).
So I added rest-messages.properties assuming that this was where the defaults go.
When I start my application the file is not considered, I dive into the code and see that a rest-default-messages.properties is mentioned.
As far as I read the code, then if I add an empty rest-default-messages.properties then my rest-messages.properties is loaded / taken into account? A bit surprising...
The culprit seems to be in the HateoasConfiguration.loadResourceBundleResources - where the context.getResources("classpath:rest-messages*.properties") does not match the base-file, it just looks for any translations (which I did not have).
If this is mentioned in the docs I did clearly not find it... But it looks a bit like a bug to me.
Activity