[TYPO3-mvc] Problem with extbase-ext on joint tables with same field-names?

Joerg Schoppet joerg at schoppet.de
Tue May 26 15:41:32 CEST 2009


Hi,

I try to build a rather complex application with extbase, which primary 
has the following layout:

Category (field: name, products)
Products (field: name, category, description, sizes)
Sizes (field: name, icon)

Category to Products is a 1:n relationship.
Products and Sizes are n:m relationship realized with a mm-table.


If I now try to view all available Categories in the FE I get the error
Fatal error: Cannot pass parameter 3 by reference in 
[path]/extbase/Classes/Persistence/Mapper/ObjectRelationalMapper.php on 
line 409

Even if I try to modify the function "reconstituteObjects()" I only get 
other errors. :-(

Doing a var_dump on ($row) within this function I realize, that all 
fields are all the tables are within one array, so name of category is 
replaced by name of product is replaced by name of size.

Can this be?

Before I renaming all the database-fields, I just want to be sure, that 
this is the case.

Thanks

Joerg


More information about the TYPO3-project-typo3v4mvc mailing list