Project

General

Profile

Actions

Bug #62562

open

Flexforms - Translating with inline relations doesn't work

Added by Daniel Alder about 10 years ago. Updated about 5 years ago.

Status:
Under Review
Priority:
Must have
Assignee:
Category:
DataHandler aka TCEmain
Start date:
2014-10-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 2 (1 open1 closed)

Related to TYPO3 Core - Bug #58306: Copy bug with inline records in flexformsClosed2014-04-29

Actions
Related to TYPO3 Core - Bug #59734: Translating a CE containing inline elements doesn't apply language to inline elementsUnder Review2014-06-20

Actions
Actions #1

Updated by Gerrit Code Review about 10 years 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

Actions #2

Updated by Daniel Alder about 10 years 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!"

Actions #3

Updated by Gerrit Code Review over 9 years 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

Actions #4

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33618

Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33618

Actions #6

Updated by Markus Sommer about 9 years ago

  • Assignee set to Daniel Alder
Actions #7

Updated by Gerrit Code Review about 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33618

Actions #8

Updated by Markus Mächler Mächler about 7 years ago

  • Related to Bug #59734: Translating a CE containing inline elements doesn't apply language to inline elements added
Actions #9

Updated by Anja Leichsenring over 6 years ago

  • Status changed from Under Review to Rejected

should be resolved meanwhile.

Actions #10

Updated by Anonymous about 6 years ago

Anja Leichsenring wrote:

should be resolved meanwhile.

nope. still not working in 8.7.19. Not tested in 9.5.0.

Actions #11

Updated by Gerrit Code Review about 5 years ago

  • Status changed from Rejected 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61793

Actions #12

Updated by Gerrit Code Review about 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61793

Actions #13

Updated by Christian Eßl about 5 years ago

This issue is really old and I would really like to see it fixed soon, but there is a problem:
  • To apply the correct language for inline records inside flexforms, several method signatures have to be changed by adding a $language parameter.
  • This would break any XClass of DataHandler that is extending one of these methods. (PHP will throw an error because of parameter mismatch between the XClasses and the original Datahandler classes method). And I think there are many extensions out there that in some way or another extend the DataHandler.

Does anyone have a solution for this?

Actions #14

Updated by Christian Eßl about 5 years ago

  • Category set to DataHandler aka TCEmain
Actions #15

Updated by Christian Eßl about 5 years ago

  • Target version set to Candidate for patchlevel
Actions

Also available in: Atom PDF