[TYPO3-mvc] odd relational issue with attach

Claus Due claus at wildside.dk
Mon Feb 20 13:15:33 CET 2012


Hi Toke,

I would look through TCA to see if this works - if possible, try creating a valid parent<->children object through the BE.

If this all works but you still get incorrect results in Extbase you may be missing a "foreign_table" TCA configuration option - Extbase requires one on "group" type fields iirc - even though this is not required by TYPO3 itself.

Cheers,
Claus


On Feb 20, 2012, at 1:04 PM, Toke Herkild wrote:

> Den 20-02-2012 11:54, Claus Due skrev:
>>> Now I just have to figure out why the mirroring seems to be wrong.
>> 
>> Could be that you need to set TCA type "passthrough" on the mirrorred side - but of course this is just a shot from the hip.
>> 
>> Cheers,
>> Claus
> 
> Hi Claus,
> 
> Seems my problem lies in the child_Persistence_Storage_Object Not being loaded on init of the Parent.
> 
> So that count($AModel->getChilds()) == 0
> 
> And after adding a new child count == 1
> 
> Regards,
> Toke
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list