Bug #93877
openpidInList 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
0%
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