[TYPO3-mvc] Property / relation problem

Alexander Dick typo3 at dick.at
Thu Feb 2 17:25:56 CET 2012

Well, if I add recordType, then my User object is empty.

The field record_type does not exist in fe_users, but there is 
tx_extbase_type and it's populated with 

What would the recordType be for?

I also map static_countries:

     Tx_Xxx_Domain_Model_StaticCountry {
         mapping {
             tableName = static_countries

The problem is supposedly that extbase does not know that I want to map 
the country property to the cn_iso_2 column of the static_countries 
table as I am not defining this anywhere since I dont have a TCA config 
for my User model.

kind regards

Am 02.02.2012 17:09, schrieb Claus Due:
>> PS: As soon as I add recordType it breaks completely.
> Define "breaks completely"? ;) any error messages to consider or just a big black hole of nothing (empty page)?
> I assume the record type field is added to SQL/TCA OK? Unfortunately I'm not really comfortable with the inner workings of the object-to-table mapping in Extbase - but really, I would expect an error message to be visible somewhere.
> Last question for this email :) do you have a mapping statement for the static_info_country table that says "map to Tx_Xxx_Domain_Model_StaticCountry"? This would also be required.
> --
> Cheers,
> Claus
> http://fedext.net

More information about the TYPO3-project-typo3v4mvc mailing list