Bug #88980

Translating records with FAL relation where allowLanguageSynchronization set to true

Added by Felix Hilmes over 2 years ago. Updated 7 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2019-08-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When translating a record with a immage (FAL relation) where allowLanguageSynchronization is set to true in the TCA configuration typo3 throws the exception #1486233164: Child record was not processed and the record gets some new immage relation entries

Easiest to Reproduce with the georgringer/news extension
Steps to reproduce:
1. Create a new (news) record, set language to [All]
2. Save
3. Add immage as fal relation,
4. Save
5. Set language to Default [0]
6. Save
7. Translate (In the News Administration section)
8. Admire the Exception/CMS/1486233164 page and the new copies of the FAL relation

Tested in Typo3 8.7, 9.5 and 10.0


Files

Screenshot 2019-08-20 at 09.34.24.png (31 KB) Screenshot 2019-08-20 at 09.34.24.png list of related files after exception Felix Hilmes, 2019-08-20 09:34
Screenshot 2019-08-20 at 09.33.27.png (58.5 KB) Screenshot 2019-08-20 at 09.33.27.png error message Felix Hilmes, 2019-08-20 09:34
#1

Updated by Christian Eßl about 2 years ago

We got the same problem here with the pages -> media fal field. Trying to translate such a page produces pretty chaotic results by duplicating all image relations.

The same error occurs when we go to the Access module and try to change the access permissions of such a page. (Click for example "New pages" icon)
  • The server will answer with a 500 error and the message "Child record was not processed"
  • All inline image relations were duplicated.

When setting allowLanguageSynchronization to false, the problems disappear.

#2

Updated by Andreas Wolf almost 2 years ago

I have seen a similar behaviour in some instances and could fix it for my usecases.

Could you try if this patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/62192 works for you as well? It should be applicable to 9.5 as well, not sure about 8, though.

#3

Updated by Felix Hilmes almost 2 years ago

Andreas Wolf wrote:

I have seen a similar behaviour in some instances and could fix it for my usecases.

Could you try if this patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/62192 works for you as well? It should be applicable to 9.5 as well, not sure about 8, though.

Works with the news extension in 9.5

#4

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 4 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/+/62192

#5

Updated by Gerrit Code Review over 1 year ago

Patch set 5 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/+/62192

#6

Updated by Joerg Kummer about 1 year ago

Can confirm for TYPO3 10.4.9, with 4 languages and pages.media, where allowLanguageSynchronization is true, and sys_file_reference is given for default language only. It occurse right after upgrade from TYPO3 8.7

#7

Updated by Gerrit Code Review about 1 month ago

Patch set 6 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/+/62192

#8

Updated by Gerrit Code Review 24 days ago

Patch set 7 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/+/62192

#9

Updated by Gerrit Code Review 18 days ago

Patch set 8 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/+/62192

#10

Updated by Gerrit Code Review 7 days ago

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

Also available in: Atom PDF