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 :-)

#1

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18402

#2

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18402

#3

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18402

#4

Updated by Adrian Föder over 8 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF