Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Ensure Between validator has both min and max values during construction #187

Merged
merged 4 commits into from Aug 14, 2017

Conversation

weierophinney
Copy link
Member

As noted in #125, and proved in #183, the Between validator had some erroneous logic for determining that both min and max values are provided during instantiation. This patch builds on the tests from #183, adding more tests, and providing a patch.

The fix is scheduled for 2.10.0, as it's a slight change in behavior, albeit to fix existing bad behavior.

weierophinney and others added 4 commits July 20, 2017 11:49
[WIP] issue-125 - add unit test proving undefined index error
Builds on the tests given in zendframework#183, adding more cases, and providing a
fix for the issue.
@weierophinney weierophinney added this to the 2.10.0 milestone Jul 31, 2017
@weierophinney weierophinney merged commit 8a80fc8 into zendframework:develop Aug 14, 2017
weierophinney added a commit that referenced this pull request Aug 14, 2017
Ensure Between validator has both min and max values during construction
weierophinney added a commit that referenced this pull request Aug 14, 2017
weierophinney added a commit that referenced this pull request Aug 14, 2017
@weierophinney weierophinney deleted the hotfix/183 branch August 14, 2017 20:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants