Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use range() to validate min/max #136

merged 1 commit into from Sep 26, 2016


Copy link

VladaHejda commented Sep 15, 2016

When there is different error message for min/max, then checking min or max via range() can cause it fails during min validation for max invalidity (and vice versa) - due to rangeUnderflow/rangeOverflow. Then wrong error message may be shown.


This comment has been minimized.

Copy link

dg commented Sep 26, 2016


@dg dg merged commit ab2fb1b into nette:master Sep 26, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
coverage/coveralls First build on master at 94.013%
dg added a commit that referenced this pull request Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.