Project

General

Profile

Actions

Bug #61674

closed

Extbase doesn't handle collection translations properly

Added by Tizian Schmidlin about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2014-09-17
Due date:
% Done:

0%

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

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:

  1. Create a new extension (or use an existing one) with an Entity A with a relation to Entity B
  2. Create a new entry for B (B1) and translate it to i.e. french
  3. Create a new entry for A (A1) and make a relation to B1
  4. Translate A to french
  5. Display A1 and the name of B1 in default language (this will work fine)
  6. Display A1 and the name of B1 in french and it will fail
  7. 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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #62155: IRRE at localized records not working properly with Extbase/Fluid Rejected2014-10-10

Actions
Actions #1

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (next-patchlevel)
Actions #2

Updated by Benni Mack about 7 years ago

  • Category changed from Extbase to Extbase + l10n
Actions #3

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

Actions #4

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

Actions

Also available in: Atom PDF