Issue Task Resolved

#110574Add test coverage for extbase plugin Startingpoint storagePid override in frontend rendering

Stefan Bürk 08/31/26, 16:01 updated 09/01/26, 20:25

Description

The “Startingpoint” of a plugin content element (tt_content fields pages and
recursive) must override the configured TypoScript value
plugin.tx_myext.persistence.storagePid via FrontendConfigurationManager,
method overrideStoragePidIfStartingPointIsSet.

This behaviour depends on the tt_content row reaching the rendering chain
with all raw fields. It silently broke in v13.3.0 up to v13.4.0 for record
based rendering (PAGEVIEW): the CObject ViewHelper flattened a passed Record
object through its schema filtered toArray, dropping the pages and recursive
fields for plugin content types whose showitem does not contain them. The
Extbase repository then queried storagePageIds holding only 0 and found
nothing.

The regression was fixed as a side effect of #105518 (provide full raw
record to content object rendering), but no test guards the behaviour end
to end – neither for classic CONTENT based rendering nor for PAGEVIEW.
Community reports (TYPO3 Slack, channel typo3-cms) still pop up for this
area, currently under investigation for 14.3.6.

Add functional test coverage:

  • Frontend sub requests against pages rendered via FLUIDTEMPLATE with
    styles.content.get as well as PAGEVIEW, with the record rendered via the
    content area ViewHelper and via the documented f:cObject pattern passing
    the record object as data argument.
  • Black box assertion: an extbase plugin (blog_example Content) prints the
    record identifiers its repository returned, proving which storage pids were
    queried, with a decoy TypoScript storagePid that must be overruled by the
    Startingpoint.
  • White box assertion: a probe plugin prints the effective
    persistence.storagePid of its framework configuration, proving the override
    verbatim including the recursive expansion.

Verified against the historic defect: restoring the pre #105518 ViewHelper
behaviour turns the PAGEVIEW test cases red while the FLUIDTEMPLATE cases
stay green.

Reviews 3

History 27

  1. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-01T20:25:08+00:00" > 09/01/26, 20:25 </span>

    Applied in changeset commit:5ae8473fa303f80f1389b1731dc413930f122968.