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
In application.yml deprecated 'spring.profiles' is not showing a warning #615
Describe the bug
In application.yml deprecated 'spring.profiles' is not showing a warning.
The 'spring.profiles' property is deprecated in spring boot 2.4.x. In properties file it shows a yellow squigly and shows a warning for that. But not in .yml. Some other deprecated properties do show warnings, so not really sure what makes that property 'special'.
To Reproduce
Create a new starter project using spring boot 2.4
Notice there are no errors or warnings. However if we hover over profiles we see that this property is in fact deprecated. So the correct behavior for the editor would be to show a warning for this.
Activity
martinlippert commentedon Mar 23, 2021
I added this to the list of things to fix for the upcoming 4.10.1 release, so it would be great if you could take a look here, @kdvolder .
kdvolder commentedon Mar 29, 2021
Taking a look at this now.
Fix and test for #615
kdvolder commentedon May 4, 2021
The cause of this was corner case' in the reconciler around handling when a metadata for a property like:
That case just wasn't being handled (reconciler detects it but just bails on it).
After adding some extra checks to disambiguate this situation and handle it properly, it seems to work fine now.