Fix a ClassCastException
in ConfigurationMetadataAnnotationProcessor
that occurred when using the value property of the ImportAsConfigurationPropertiesBean
without specifying a prefix.
- add missing value property to
ImportAsConfigurationPropertiesBean
test annotation -
add new test case in
ImportBeanTests
-
Fixes #23552
Comment From: snicoll
@dnl50 thank you for the PR. When I created the issue, we were considering reverting the feature related to this bug. I forgot to assign myself to the bug to make sure someone else doesn't spend time on it.
We've decided to revert the feature (see #23593). I am very sorry for the wasted effort (the PR looks good though!). Going forward, it is worth adding a comment to an issue before spending time on it.