Actions
Bug #80944
openInline records are duplicated upon saving the master record
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.
Actions