Project

General

Profile

Actions

Bug #57453

closed

TYPO3\CMS\Extbase\Validation\Validator\NumberValidator

Added by Nadine Schwingler about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-31
Due date:
% Done:

100%

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

Description

The function-description shows that there SHOULD be a boolean return value but the Validator only adds an Error, no return value is given.

Actions #1

Updated by Nadine Schwingler about 10 years ago

I was talking about the isValid-Funtion inside the validator

Actions #2

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36143

Actions #3

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36143

Actions #4

Updated by Patrick Schriner about 9 years ago

Just out of curiosity, wouldn't it make more sense to add return FALSE / TRUE were missing instead of adapting the PHPDoc? I'd pretty much expect isValid to return a boolean.

Ok I just saw this has changed somewhere between 4.5 and 6.2

It was defined as returning a Boolean in the Interface in 4.5, but is not anymore.

Actions #5

Updated by Frederic Gaus about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36189

Actions #7

Updated by Frederic Gaus about 9 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF