By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.0.x
Introduced in version:
10.0.0
Issue links:
Description:
As part of adjusting the code base to support Symfony 6.1, the Entity validation code for the validation of ranges has been aligned to Symfony logic and yields more accurate information in case of violation.
In case of an actual value of 33 for an allowed range between 0 and 32:
BEFORE
Violation message: This value should be 32 or less.
Violation code: Range::TOO_HIGH_ERROR
AFTER
Violation message: This value should be between 0 and 32.
Violation code: Range::NOT_IN_RANGE_ERROR
Impacts:
Module developers