idp start up warnings after upgrade

Cantor, Scott cantor.2 at osu.edu
Tue Apr 4 10:17:46 EDT 2017


> You get that warning because Spring does a lot of weird things internally
> when it does type conversions and it will attempt them before it sees that
> there's a better constructor to use that doesn't require a bad conversion.
> Most of the time it goes away if you add a constructor argument name or
> type that would disambiguate the conversion and prevent it from attempting
> a conversion that isn't intended.

In this case, add name="candidates" to the <constructor-arg> element in the example. I'll add it to the default file, that predates the warning being added and nobody uses this feature virtually at all so it hasn't come up.

-- Scott




More information about the users mailing list