#80944Inline records are duplicated upon saving the master record
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 5
- Feature #79658Introduce allowLanguageSynchronization
- Bug #80311IRRE shows default + translated records
- Bug #87640Keep language reference for associated l10n_mode=exclude children
- Bug #93572Inline Relational Records are multiplicated at multiple simultaneous translations
- Bug #80141Add allowLanguageSynchronization chain resolving