From b670dd9c6affabf44506ea52660b58494d9ac5ed Mon Sep 17 00:00:00 2001
From: Oliver Hader <oliver@typo3.org>
Date: Sun, 2 Apr 2017 19:39:36 +0200
Subject: [PATCH] [BUGFIX] MM relations of localizations not resolved in
 functional tests

* value of _ORIG_uid -> version record
* value of _LOCALIZED_UID -> localized record
* value of uid -> non-overlaid record

Change-Id: I35cc1e94b68a7725e71a469e557bc34f7c952a21
Resolves: #80638
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/52317
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
---
 .../core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts b/typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
index 38b1bb463f20..f007c83e2270 100644
--- a/typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
+++ b/typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
@@ -98,7 +98,7 @@ page {
 						pidInList = root,-1
 						selectFields = sys_category.*
 						join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
-						where.data = field:_ORIG_uid // field:uid
+						where.data = field:_ORIG_uid // field:_LOCALIZED_UID // field:uid
 						where.intval = 1
 						where.wrap = sys_category_record_mm.uid_foreign=|
 						orderBy = sys_category_record_mm.sorting_foreign
-- 
GitLab