zendframework/zf2 — pull request #627 by dchusovitin (2011-11-23 10:43:11+00:00)
Title: Broken messages in validator

If not called Zend\Validator\AbstractValidator::__construct, abstractOptions['messageTemplates'] and abstractOptions['messageVariables'] is empty

Sample:

```php
isValid(10)) {
/**
* output array this empty values
* array(1) {
* ["notInArray"]=>
* NULL
* }
*/
var_dump($validator->getMessages());
}
```

Bad components: Db\RecordExists, Db\NoRecordExists, Date, GreaterThan, Iban, Identical, InArray, Int, Ip, LessThan, Regex
This bug is also present in latest Zend Fremework 1