[TYPO3-mvc] Extbase and mm-relations

Kerstin Eitner eitner.kerstin at googlemail.com
Fri Sep 17 13:46:50 CEST 2010


Hi everybody,

I have references which are related to multiple categories. So i 
implemented that in a mm-relation.

These are the tables i generated:
- tx_myext_domain_model_category
- tx_myext_domain_model_reference
- tx_myext_reference_category_mm


When I try to save a reference entry there is always the SQL-error that 
a categories column is missing in the reference-table.

Now I wonder if I really have to add a categories field to the 
reference-table. Is that necessary? The rest of the data is saved 
correctly in the reference_category_mm table.


Can anybody explain that to me or give me a hint what I have to define 
so that the categories-field is not necessary in the reference-table?

In the sjr_offers example of the book "TYPO3-Extensions mit Extbase & 
Fluid" there such a field is also needed, and it's also a mm-relation.
I just don't get it ;)



Thanks in advance -
greetings, Kerstin Eitner






More information about the TYPO3-project-typo3v4mvc mailing list