[TYPO3-mvc] 1:M modelling - Bug in kickstarter?

Marc Bastian Heinrichs typo3 at mbh-web.de
Sun Feb 20 14:03:02 CET 2011


Hey,

> I just re-kickstarted our gallery extension, as we could not fix our 
> bugs in the domain model. I have an 1:M relation from Album:Item and a 
> 1:1 relation from Item:Album
> 
> When I kickstart the extension and take a look at the database model, 
> the kickstarter creates an MM-table between albums and items and a field 
> "album" on the table item. I'm fine with the field on item, but 
> shouldn't there be no MM-table?
> 
> It is definitly a bidirectional 1:M relation I want to have. At least in 
> the database, the kickstarter creates a unidirectional M:M relation.

Because your question is extbase_kickstarter related you should better
ask on typo3.projects.extbase-kickstarter

In general I use also an mm-table for bidirectional 1:m relations
because I'am not firm with IRRE for those configurations and I don't
think that T3 can handle the bidirectional stuff in an other way.

Best
Marc Bastian


More information about the TYPO3-project-typo3v4mvc mailing list