Feature #45675

Improve Error-Message when @var annotation in entity object is omitted

Added by Benno Weinzierl almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Validation
Start date:
2013-02-20
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

When the @var annotation is missing in an entity object the ValidationResolver throws a notice:

Notice: Undefined index: var in .../TYPO3_Flow_Validation_ValidatorResolver_Original.php line 251

This tells nothing about the actual problem (that the @var in the comment of a property was forgotten).

Improve this errormessage to make the search for the error more FLOWing :-)

Also available in: Atom PDF