Project

General

Profile

Actions

Bug #79712

open

triple entries in mm table when copying page

Added by Simon Würstle about 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-02-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Files

maptest.zip (17.7 KB) maptest.zip Simon Würstle, 2017-02-09 16:43

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #76863: MM Relation with selectMultipleSideBySide Field - Add wizard resets the MM RelationClosedThomas Hohn2016-06-29

Actions
Actions #1

Updated by Riccardo De Contardi over 5 years ago

  • Category set to FormEngine aka TCEforms
Actions

Also available in: Atom PDF