Feature #45675

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

Added by Benno Weinzierl over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-02-20
Priority:Should have Due date:
Assigned To:Benno Weinzierl % Done:

0%

Category:Validation
Target version:TYPO3 Flow Base Distribution - 2.0
PHP Version: Complexity:
Has patch:No

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

History

#1 Updated by Gerrit Code Review over 2 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 over 2 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 2 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 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF