« Previous | Next » 

Revision 6b38d1f7

Parent 3d492d3b
Child 2c060361

Added by Helmut Hummel over 7 years ago

[BUGFIX] Add domain model validators only once

If a domain model validator is present and a controller action accepts
this domain model as argument, the validator is added twice to the
validation tree.

It is added in ValidatorResolver::buildMethodArgumentsValidatorConjunctions()
and in ValidatorResolver::addCustomValidators() which is called from

Both methods are called when building the validation tree in

Resolves: #49624
Releases: master, 2.2, 2.1
Change-Id: I1f8902d09f468177d580a7a3d949242cce78313e

  • added
  • modified
  • copied
  • renamed
  • deleted