Project

General

Profile

Actions

Bug #80944

open

Inline records are duplicated upon saving the master record

Added by Xavier Perseguers over 7 years ago. Updated over 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-03-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

Description

Context:

  • Locations records (localized)
    • Having Offices are inline relation, may be (externally) localized as well

TCA:

        'offices' => [
            'exclude' => 1,
            'l10n_mode' => 'exclude',
            'label' => 'Offices',
            'config' => [
                'type' => 'inline',
                'foreign_table' => 'tx_myext_domain_model_office',
                'foreign_field' => 'location',
                'foreign_label' => 'name',
                'foreign_sortby' => 'sorting',
                'maxitems' => 20,
                'appearance' => [
                    'collapseAll' => 1,
                    'expandSingle' => 1,
                    'newRecordLinkAddTitle' => 1,
                    'newRecordLinkTitle' => 'New Office',
                ],
            ],
        ],

Since commit e7217da45d1528101aaa2577940a489f45b3029e (#80141), following problem happens:

  • I edit a Location having 2 offices, one of them being "disabled"/"hidden"
  • Doing nothing else than showing the edit form, not expanding either the Offices records
  • Saving
  • Upon form reloading:
    • Disabled Office is still there
    • Visible Office has been duplicated 8 times

Sample extension and data has been shared with Olly for further investigation.


Related issues 5 (1 open4 closed)

Related to TYPO3 Core - Bug #80311: IRRE shows default + translated recordsClosedOliver Hader2017-03-16

Actions
Related to TYPO3 Core - Feature #79658: Introduce allowLanguageSynchronizationClosed2017-02-07

Actions
Related to TYPO3 Core - Bug #87640: Keep language reference for associated l10n_mode=exclude childrenClosed2019-02-04

Actions
Related to TYPO3 Core - Bug #93572: Inline Relational Records are multiplicated at multiple simultaneous translationsNew2021-02-23

Actions
Follows TYPO3 Core - Bug #80141: Add allowLanguageSynchronization chain resolvingClosedOliver Hader2017-03-04

Actions
Actions

Also available in: Atom PDF