如果插入 ContentElement 作为参考,TypoScript Datapocessor 似乎不起作用

TypoScript Datapocessor seems not working if ContentElement is inserted as reference

我从 TYPO3 Extension "bootstrap_package" 中获取了以下代码片段,可在 TYPO3 Extension Repository 中找到。

dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
    10 {
        table = tx_bootstrappackage_accordion_item
        where {
            data = field:uid
            intval = 1
            wrap = tt_content=|
        }
        orderBy = sorting
        dataProcessing {
            10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
            10 {
                references.fieldName = media
            }
        }
    }
}

它正在从属于手风琴内容元素的 table 中获取记录(手风琴项目)。那工作正常。 但是当我在页面某处插入对此手风琴的引用时,将不会获取记录。

需要如何更改此代码才能正常工作?

非常感谢。

我这样使用它:(pidInList.field = pid << 丢失)

tt_content.xy =< lib.default
tt_content.xy {
    templateName = CE_Stage
    dataProcessing {
        30 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
        30 {
            table = tx_xy_slider
            pidInList.field = pid
            where {
                data = field:uid
                intval = 1
                wrap = tt_content=|
            }

            orderBy = sorting
            as = slides
            dataProcessing {
                10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
                10 {
                    references.fieldName = image
                    as = images
                }
            }
        }
    }
}