yiisoft/yii — pull request #2554 by samdark (2013-06-12 09:35:23+00:00)
Title: Range validator doesn't work well with empty values when allowEmpty=false

See test in diff. There are 2 issues with it:

1. Logically it's not very straightforward how it works currently.
2. Clientside validator works differently in this case.

Suggestions are very welcome.