Bug #81761
closed
l10n_mode exclude is ignored in IRRE relations and deletes unrelated child records during l10n
Added by Philipp Gampe over 7 years ago.
Updated over 6 years ago.
Category:
DataHandler aka TCEmain
Description
If a records has a child records as IRRE relation with foreign field,
but the child records also exist freely without parent record and the
default value for the foreign field is 0
(Zero), then translating
the parent records will delete all child records without a parent.
Bonus: If the child records is not translatable, a "translated" child
record is created anyway.
Expected behavior:
Translated parent and do not show child record IRRE in the translation
(Formengine).
Free children are left alone.
Bonus: Do not create a new child record for each translation.
Actual behavior:
Child record relation is not shown in translation (form engine). [correct]
All free children are removed. [big problem]
Bonus: A new child record is created for each translation. [small problem]
Workaround:
Make the default value for the foreign field not zero (e.g. -1
).
Files
Steps to reproduce
1. Install the sample extension
2. Create a bunch of children records
3. Create parent record with an inline child
4. Create a translation of the parent record
5. Miss a few children
- Related to Task #79244: Streamline l10n_mode exclude data processing added
- Related to Task #78745: Get rid of localizationMode of TCA type inline added
- Related to Bug #80460: l10n_mode exclude without sync in T3 8.6.1 added
- Related to Bug #83117: l10n_mode exclude IRRE Relations are translated added
- Status changed from New to Needs Feedback
I could not reproduce the behavior in TYPO3 v9.2-dev nor in TYPO3 v8.7.11-dev.
However, I could identify that child elements (which are not localizable) are not synchronized in case the language parent record is updated.
Can you please check, whether the original bug still exists in recent TYPO3 versions? Thanks!
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
Also available in: Atom
PDF