-
Notifications
You must be signed in to change notification settings - Fork 469
Description
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.