[TYPO3-mvc] Property / relation problem

Alexander Dick typo3 at dick.at
Fri Feb 3 14:42:31 CET 2012

Hi Claus,

good news, for now I found a workaround: populate the identityMap 
manually bevore saving!

public function initializeSaveAction() {

	$identityMap = 
	$countries = $this->countryRepository->findAll();
	foreach($countries as $country) {
		$identityMap->registerObject($country, $country->getUid());

Thanks for your help so far, I really appreciate it.

have a nice weekend,

Am 03.02.2012 14:11, schrieb Claus Due:
>> 3) in order to have the field in the backend working, I have to change the foreign_table to static_countries (because tx_xxx_domain_model_staticcountry is only a dummy table and thus empty).
> When you save manually through Extbase is the field in DB filled?
> And the TS mapping info for the table (which is active when saving through Extbase) - could that be affecting how the target table is resolved and because of that how Extbase tries to load the Country?
> This really does sound like a mapping configuration problem and I'm afraid this isn't an area I have much experience with.
> Cheers,
> Claus

More information about the TYPO3-project-typo3v4mvc mailing list