Bug #61674
closedExtbase doesn't handle collection translations properly
0%
Description
Hello there,
I've experienced several times that Extbase would fail to translate collections and even relations to other objects.
I was not yet able to find out how to fix it but here is a way to reproduce it:
- Create a new extension (or use an existing one) with an Entity A with a relation to Entity B
- Create a new entry for B (B1) and translate it to i.e. french
- Create a new entry for A (A1) and make a relation to B1
- Translate A to french
- Display A1 and the name of B1 in default language (this will work fine)
- Display A1 and the name of B1 in french and it will fail
- Display A1 and the uid of B1 in french and you will see nothing
This leads me to think, that the translation isn't done properly or that the request before the translation already contains the sys_language_uid.
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Benni Mack about 7 years ago
- Category changed from Extbase to Extbase + l10n
Updated by Tymoteusz Motylewski about 6 years ago
- Status changed from New to Needs Feedback
Please check if the patch https://review.typo3.org/#/c/53974/ solves the issue for you, I'm pretty sure it does.
However if it does not solve the issue, please provide a code snippet (the extbase query) used to fetch the records and info about what values does these records have in db (uid, sys_language_uid, l10n_parent, the filed used as relation), and please provide the TCA configuration for the relation between these objects.
Thanks
Updated by Riccardo De Contardi almost 6 years ago
- 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