Issue Bug Resolved

#79712triple entries in mm table when copying page

Simon Würstle 02/09/17, 16:43 updated 10/23/26, 09:05

Description

In an extbase extension I have two different record types which have a mm-relation to each other, i.e. “maps” and “marker”. There is a mm table tx_maptest_map_marker_mm.
Say you have a sysfolder in which is one map record and one marker record. They are related to each other. If you copy the sysfolder, 3 (!) new, but identical entries are added to the mm table. This only happens if you have set ‘MM_opposite_field’ in the marker TCA. If you don’t set ‘MM_opposite_field’, everything works fine and only 1 entry is added to the mm table.

Tested with TYPO3 7.6.15 and PHP 5.6/7.0.

See also attached example extension, which was mostly created with EXT:extension_builder.

Reviews 2

Files 1

History 36

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-23T09:05:15+00:00" > 10/23/26, 09:05 </span>

    Applied in changeset commit:af0589b916ded6e9864b071cdc439febc41f6e85.