[TYPO3-core] Bugfix to Bidi-MM: Set tablenames field only when necessary

Ingmar Schlecht ingmar at typo3.org
Tue Jan 23 13:01:25 CET 2007


Hi guys,

the bidirectional MM relation feature by Sebastian and me had a little
quirk:
It tried to set the "tablenames" field in writeMM() always, even if it
was a simple two-table relationship, which caused the insert queries to
not work in such cases, because the MM table didn't have the tablenames
field.

The attached patch fixes that problem by setting the tablenames field
only when necessary.

Branches: trunk only.

cheers
Ingmar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bidi-mm-tablenames-bugfix.patch
Type: text/x-diff
Size: 586 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/e8495837/attachment.bin 


More information about the TYPO3-team-core mailing list