Project

General

Profile

Actions

Bug #64046

closed

Fatal 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

Added by Thomas Hucke over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-12-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF