[TYPO3-dev] Possible bug: Relations with MM_opposite_field don't update the relation count of opposite field

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Feb 11 15:41:32 CET 2010


Hi Francois,

>> Do you guys think this is a bug? It wouldn't be a technical problem to
>> count the number of relations in the MM_table from the foreign side and
>> update the opposite field though.
>
> I can't give you a definite answer, but it could well be. Bidirectional
> MM-relations are a pretty touchy subject and I'm sure not all bugs have
> been ironed out yet.

Can you give me a hint where to start digging? I did a global search for 
MM_opposite_field. The only matches I got where in t3lib_loaddbgroup, 
but there seems not to be any related code to at least update the 
currently saved table in t3lib_loaddbgroup - so I assume the according 
code might/should be in TCEmain->updateDB? And would you say that 
TCEmain then should take care of those relations too or if it's a task 
of t3lib_loaddgroup instead? I'm new in messing around with such low 
level core processes, so I better ask where to start hacking in a 
solution ;)

-- 
kind regards,
Franz Koch




More information about the TYPO3-dev mailing list