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 about 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 #1

Updated by Markus Klein about 9 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (next-patchlevel)

Please ask about that problem on the mailing list or forum. You have a broader audience in the forum than here.
I suspect a mistake in your validator implementation.

Actions #2

Updated by Thomas Hucke about 9 years ago

Hallo Markus,

thanks for your feedback.
Will go more into it - you may close this issue.
When I've got more detailed information I will open a new one.

Actions #3

Updated by Markus Klein about 9 years ago

  • Status changed from Needs Feedback to Closed
  • Complexity deleted (easy)

Thanks for you feedback.

Actions

Also available in: Atom PDF