[TYPO3-mvc] CollectionValidator.php in 6.2.x

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Fri Aug 22 12:07:34 CEST 2014


Hello Helmut

Thanks for your reply, but I'm not able to answer :-( . Can you tell me how
to figure out what you need to know or should I send you my
extendingExtension?

Btw: Same error is thrown by extension "newsletter".

Best regards
Johannes

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Helmut Hummel
Gesendet: Freitag, 22. August 2014 11:07
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] CollectionValidator.php in 6.2.x

On 22.08.14 08:21, Johannes C. Schulz - EnzephaloN IT-Solutions wrote:

> But looking to the error-trace doesn't call my data as faulty! Before
commenting out one by one the trace shows the following data as faulty
(NULL) instead of array:

I'm really wondering, why isValid is called at all, as this condition should
bypass the validation:

if ($this->acceptsEmptyValues === FALSE || $this->isEmpty($value) ===
FALSE) {

Is $this->acceptsEmptyValues indeed FALSE in your case? Because
$this->isEmpty($value) is true if $value really is NULL

Kind regards,
Helmut

--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc




More information about the TYPO3-project-typo3v4mvc mailing list