[TYPO3-mvc] The value must be of type "Extension_model_name", but was of type "NULL".

Peter Niederlag typo3-list at niekom.de
Thu Oct 20 13:14:28 CEST 2011


Hello,

Am 19.10.2011 22:13, schrieb Alisha:
> Hi,
> i have a model eith 1 property and 3 relations (1:1).
> the edit-form throw the error
> 
> The value must be of type "..Domain_Model_Couples", but was of type "NULL"

which controller, which action?
What is the signature of the action?

keep in mind that the name of the variable in the fooAction(xyz $foo)
must be the same as the name attribute in the form-viewhelper ("couples")!

You can temporarily set the object/param in the action with a default
NULL like

fooAction(xz $couples=NULL)

and then further inspect $couples

Also check if there is an entry in $TCA for [columns][fieldname]

Greets and hth,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list