Project

General

Profile

Actions

Bug #93877

open

pidInList keyword 'this' not working when CE is referenced via CType = shortcut because it points to the page of the shortcut CE and not to the page of the referenced CE

Added by S P over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2021-04-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Consider a CE that fetches inline records with a DatabaseQueryProcessor. Since the records are on the same page as the CE itself, for pidInList the default this is correct.

If this CE is now referenced in CType shortcut the inline records are not fetched because this uses the pid of the shortcut element, not from the referenced record. You have to explcitly state pidInList.field = pid which makes the this keyword essentially useless (because you can never use it because under normal circumstances every CType is allowed to be rendered in a shortcut so you always have to explicitly set it to field = pid anyways).

I'm not sure whether this is actually a flaw of this or the source configuration of RECORDS (which shortcut is using internally).

No data to display

Actions

Also available in: Atom PDF