[TYPO3-mvc] ColumnMap: relations to tables with key field other then the UID (f.e. static_countries)
Franz Koch
typo3.RemoveForMessage at elements-net.de
Thu Jul 8 01:46:23 CEST 2010
Hey Thomas,
> I have not dug into this more, but I recently created models for some
> of the static info tables and encountered that the relation between e.g.
> the static_country_zones and the static_countries is done via ISO codes
> and not any parent-uid field.
>
> I also needed this for the backend to only show country zones for a
> selected country, but I needed the uid of the country in the field,
> rather than the ISO code.
>
> So yes, I'd need this feature, but I don't know how to implement it,
> nor how to make a workaround for now.
I've got a first patch now for this which seems to work for me - but
it's not final. Especially the persistence stuff needs to be checked in
detail, because I fear that the UID is hardcoded quite often and it
currently might run into errors when objects get changed in FE.
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list