[BUGFIX] MM relations of localizations not resolved in functional tests 18/52318/2
authorOliver Hader <oliver@typo3.org>
Sun, 2 Apr 2017 17:39:36 +0000 (19:39 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 2 Apr 2017 18:09:37 +0000 (20:09 +0200)
* 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/52318
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts

index 848f712..69cda93 100644 (file)
@@ -85,7 +85,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