Bug #62562
Flexforms - Translating with inline relations doesn't work
Status: | Under Review | Start date: | 2014-10-30 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 7 | Is Regression: | No | |
PHP Version: | Sprint Focus: | |||
Complexity: |
Description
If you are using a flexform with a field for inline relations and try to copy the contente lement by using "Copy default content elements" the related records in the inline fields will be copied instead of localized.
This leads to the issue the inline records in the translated content element does show up (as copies) but aren't but will not be rendered if you are using language mode 'strict'.
The behavior for translations will be completely ignored:
<behaviour type="array">
<localizationMode>select</localizationMode>
<localizeChildrenAtParentLocalization>1</localizeChildrenAtParentLocalization>
</behaviour>
Side node:
I think powermail for example is using kind a work around since there you have to select a "form record" first and the whole behavior works in the context of TCA itself.
Same goes for news extension for example.
Second side node:
https://forge.typo3.org/issues/58306 is a similar issue (same area). The patch there seems to break mine - But I will try to test this as well.
Related issues
History
#1 Updated by Gerrit Code Review 9 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33618
#2 Updated by Daniel Alder 9 months ago
This leads to another bug in IRRE (I will add it as an issue if this gets applied):
When deleting a flexform content element with related records, the will not be deleted.
So "recopying" the element will end up with the exception "Localization failed; There already was a localization for this language of the record!"
#3 Updated by Gerrit Code Review 3 months ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33618