Fixed
Details
Assignee
Marko BekhtaMarko BekhtaReporter
Marko BekhtaMarko BekhtaParticipants
Marko BekhtaComponents
Fix versions
Priority
Major
Details
Details
Assignee
Marko Bekhta
Marko BekhtaReporter
Marko Bekhta
Marko BekhtaParticipants
Marko Bekhta
Components
Fix versions
Priority
Created August 21, 2024 at 4:16 PM
Updated September 4, 2024 at 4:24 PM
Resolved September 3, 2024 at 6:55 PM
If a constraint mapping XML defines all the constraint info, then
PredefinedScopeHibernateValidatorFactory
will miss this information as the classes defined in the XML are not passed in theHibernateSpecificConfig#getBeanClassesToInitialize()
.Let’s add the classes present only in the XML to the list of bean classes to initialize.
This will also mean that the predefined list of enabled built-in constraints may need to be extended, as the predefined configuration does not yet know about all the XML metadata.