[TYPO3-mvc] Fluid validation: how to debug errors?

Xavier Perseguers typo3 at perseguers.ch
Fri Sep 25 14:06:52 CEST 2009


Hi Sebastian,

> do you use the newest Extbase version available in TYPO3 v4.3 trunk (and 
> under coreProjects?)
> 
> Please check that there is the 
> Tx_Extbase_Validation_Validator_StringValidator available in your 
> installation.

Problem is located in EXT:fluid/Classes/ViewHelpers/ForViewHelper.php. In method render(), the parameter "as" is of type string (according to the phpDoc). If I write this to my template:

<f:for each="{activities}" as="activity">

I get the mentioned error. If I change it to "mixed", then it works. Funny because I use exactly the same "for" in another extension and this works. Is it possible that the string validator from 
Extbase should be somehow loaded in order for Fluid to run smoothly? Because I'm using Fluid without really relying on Extbase in my case.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list