Feature #42467

NotEmpty Validator does not work with arrays

Added by Alexander Schnitzler almost 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-10-29
Priority:Should have Due date:
Assigned To:Alexander Schnitzler % Done:

100%

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

Description

Forard-port this patch: https://review.typo3.org/#/c/14707/

Associated revisions

Revision d2289333
Added by Alexander Schnitzler over 2 years ago

[FEATURE] Add array and object support for NotEmptyValidator

This patch resolves the problem that empty arrays are not correctly
validated when using the NotEmpty validation annotation. Arrays
and Countables that are empty will now trigger an error.

Follow-up patch to https://review.typo3.org/14707

Change-Id: Ia2e2b19cff91d1ecef857b841e2b660853b39023
Resolves: #42467
Releases: 1.2

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 http://review.typo3.org/16852

#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 http://review.typo3.org/16852

#3 Updated by Karsten Dambekalns over 2 years ago

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

Also available in: Atom PDF