Issue Bug Closed

#64046Fatal error: Call to a member function addError() on a non-object in typo3_src-7.0.2\typo3\sysext\extbase\Classes\Validation\Validator\AbstractValidator.php on line 122

Thomas Hucke 12/26/14, 18:57 updated 01/08/15, 22:24

Description

It seems that the result-object will only be initialized in the validate method.
Trying to add error in my own validator end up in the upper error message.

My suggestion:
Initialize the result object in construction method.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.