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
FactoryBean.OBJECT_TYPE_ATTRIBUTE should either be a Class or a ResolvableType. It should not check if the attribute is a String. As of Spring Framework 6.1, this throws an exception anyway.
The text was updated successfully, but these errors were encountered:
Reverted temporarily as not checking String values causes a failure in smoketest.data.jpa.SpyBeanSampleDataJpaApplicationTests. We should be able to re-apply the change once spring-projects/spring-data-commons#2891 has been fixed and we've switched to Spring Data snapshots.
As it turns out, stopping reading the String attribute means that we request the type to the container and it doesn't find the repository, while it should have. This is being investigated in spring-projects/spring-framework#30987
snicoll
added a commit
to snicoll/spring-boot
that referenced
this issue
Aug 3, 2023
FactoryBean.OBJECT_TYPE_ATTRIBUTE
should either be aClass
or aResolvableType
. It should not check if the attribute is a String. As of Spring Framework 6.1, this throws an exception anyway.The text was updated successfully, but these errors were encountered: