[TYPO3-mvc] ImageViewHelper.. strange behaviour

Sebastian Gebhard sebastian.gebhard at googlemail.com
Tue Jul 28 12:41:22 CEST 2009


Hi, me again

When i use ImageViewHelper this way: <f:image src="{car.image}" 
width="150" alt="{car.tmp_cartype}" />

I get an Exception: Validation for argument name "alt" in view helper 
"Tx_Fluid_ViewHelpers_ImageViewHelper" FAILED. Expected type: "string"; 
Given: "string".

{car.tmp_cartype} definetly is a string.

This works: <f:image src="{car.image}" width="{car.tmp_cartype}" 
alt="test" />

I guess it's a bug - I did not find anything in the Forge issuetracker 
that I think is related to that. I use today's trunk version.

What do you think?


More information about the TYPO3-project-typo3v4mvc mailing list