#110574Add test coverage for extbase plugin Startingpoint storagePid override in frontend rendering
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
Related issues 1
History 27
-
Stefan Bürk changed Related to #105518 <span data-processor="relativetime" data-value="2026-08-31T16:02:09+00:00" > 08/31/26, 16:02 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 95494 status
NewUnder Review <span data-processor="relativetime" data-value="2026-08-31T16:02:37+00:00" > 08/31/26, 16:02 </span> -
Gerrit Code Review pushed patch set 2 for main to change 95494 <span data-processor="relativetime" data-value="2026-09-01T11:41:22+00:00" > 09/01/26, 11:41 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 95494 <span data-processor="relativetime" data-value="2026-09-01T12:32:03+00:00" > 09/01/26, 12:32 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95518 <span data-processor="relativetime" data-value="2026-09-01T12:32:11+00:00" > 09/01/26, 12:32 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 95519 <span data-processor="relativetime" data-value="2026-09-01T12:32:18+00:00" > 09/01/26, 12:32 </span>
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %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.