We're updating the issue view to help you get more done. 

Wrong warning log in TypeAnnotationAwareMetaDataProvider.getTypeParameter

Description

Whenever a class has an attribute using more than one generics other than Map (a common Java 8 example would be Function<A, B>), a warning gets logged by the getTypeParameter of org.hibernate.validator.internal.metadata.provider.TypeAnnotationAwareMetaDataProvider.

Since this is not really an error condition, a warning is probably too much here, debug would most likely be more than enough. Furthermore, the message itself is misleading, using a bad message id (188 instead of 184), so the warning currently says:

1 HV000188: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported

which could be very misleading for users since EL not being present would indeed be a grave issue.

Related forum topic: https://forum.hibernate.org/viewtopic.php?f=9&t=1037350&start=0

Environment

Standalone Swing application with Spring, but the issue should affect all environments really

Status

Assignee

Davide D'Alto

Reporter

Simon Lessard

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Time Tracking

1h

Components

Fix versions

Affects versions

5.2.0.Alpha1

Priority

Minor