Skip to content
Snippets Groups Projects
user avatar
Patrick Schriner authored
If a field has a '''double''' eval, '''upper''' and '''lower''' range
checks don't work as expected as the value is always cast to an int
before comparison.

Switching to floor and ceil helps with these edge cases while retaining
the casting to int behaviour.

Resolves: #94103
Releases: master,10.4
Change-Id: I28b77e2360b86e27e0297a08c5b6d20e0637a0dd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69098


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
3109ebaa
Name Last commit Last update