[TYPO3-mvc] models with empty properties coming from db

Pascal Jungblut mail at pascal-jungblut.com
Thu Aug 12 23:40:30 CEST 2010


Hi Christoph,

> The array has 4 items of the right class, so I assume it finds the db table just fine. But the names remain blank.
> 
> Any idea?

this might very likely be a TCA problem. Do you have the correct column configuration in your TCA? e.g.:

--------
		'name' => array(
			'exclude' => 0,
			'label'   => 'name',
			'config'  => array(
				'type' => 'input',
				'size' => 30,
				'eval' => 'trim'
			)
		),
-------

And is the "dynamicConfigFile" in ext_table.php set correctly?

Regards
Pascal


More information about the TYPO3-project-typo3v4mvc mailing list