Bug #92827
closedTranslating IRRE in Free mode not possible
0%
Description
Setup:
- 9.5 installation with 2 sites
- Both sites have 2 languages: Dutch with language-id 0 and English with language-id 1
- English has fallbackType: free
Trying to:
- Translate a page and its content elements to English
Problem:
- There's a content element on the page which has IRRE relations, these are not being translated or copied correctly
For translating content, there are 2 options: Translate or Copy, the outcome of these options:
- Translate: content elements get translated, but the IRRE relation does not. This results in a weird view where the element gets displayed twice: once as the original element and once as an element that can be translated
- Copy: content elements get translated, but the IRRE relation does not. This results in the same related element being used for both languages (which of course means that editing the relation in English also affects the Dutch language).
See screenshots:
1. This is the situation in the Dutch language, relation has uid=33
2. This is the situation in the English language when using "Translate", both relations have uid=33
3. This is the situation in the English language when using "Copy", relation has uid=33
I'm not able to pin down where the problem could be, tried to analyze the actions within the DataHandler and TcaInline but no result.
Files
Updated by Riny van Tiggelen about 4 years ago
Extra information:
If I try to use the action "Localize all records" I get a 500 error, this shows up in the logs:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: An exception occurred while executing 'INSERT INTO `tt_content_calltoaction_mm` (`uid_local`, `uid_foreign`, `sorting`) VALUES (?, ?, ?)' with params [null, 34, 1]: Column 'uid_local' cannot be null | Doctrine\DBAL\Exception\NotNullConstraintViolationException thrown in file /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php in line 103. Requested URL: https://*****/typo3/index.php?route=%%2Fajax%%2Frecord%%2Finline%%2Fsynchronizelocalize&token=--AnonymizedToken--
Updated by Jo Hasenau over 3 years ago
- Status changed from New to Needs Feedback
Sounds like a misconfigured TCA for that particular IRRE field to me - never had those problems with IRRE and translations within our own projects.
So could you provide the TCA code here please?
Updated by Christian Kuhn almost 3 years ago
- Status changed from Needs Feedback to Closed
hey riny. i hope it's ok to close here for now: this indeed smells a bit like a funny TCA config, may i ask to recheck your settings? in case this turns out to still be a core issue, please create a fresh issue including the involved tca.