Issue Bug Closed

#10947514.2: using plugins on the page level results in exception

Dmitry Dulepov 04/02/26, 17:09 updated 04/17/26, 18:49

Description

This is new in TYPO3 14.2.

Given:

page.10 < plugin.tx_myext_pi1

results in:

(1/1) #1725892141 TYPO3\CMS\Core\Domain\Exception\RecordPropertyNotFoundException
Record property "header" is not available.

This happens because ExtensionUtility::configurePlugin(() sets this TS:

tt_content.' . $pluginSignature . ' =< lib.contentElement

Now lib.contentElement makes this:

lib.contentElement {
    dataProcessing {
        1770716912 = record-transformation
    }
}

Since the plugin is inserted on the page level, the record is the instance of \TYPO3\CMS\Core\Domain\Page. Then it goes to the fluid styled content rendering, which includes “Header” partial, which searches for the header field, which is obviously not in the page record. The result is the exception.

Since it is quite common to set up plugins on the page level, this needs to work as before.

Reviews 1

Files 1

History 57

  1. Dmitry Dulepov commented <span data-processor="relativetime" data-value="2026-04-03T12:59:33+00:00" > 04/03/26, 12:59 </span>

    You can install "websedit/we-cookie-consent": "dev-feature/typo3-v14 as 14.0.0" from https://github.com/dmitryd/we_cookie_consent.git for testing, This is my fork to make it v14 compatible. Add a site set from this ext to dependencies and enjoy the exception.

  2. Garvin Hicking commented and changed status New Accepted removed the assignee priority Should have Must have <span data-processor="relativetime" data-value="2026-04-03T16:50:06+00:00" > 04/03/26, 16:50 </span>

    Thanks for reporting. This was part of https://forge.typo3.org/issues/108935 and I’ve referenced the issue.

    A plugin could possibly “fix” this be removing the data processor key. We’ll see if we can make this non-breaking, but the change itself is quite vital for a lot of things.

  3. Gerrit Code Review pushed patch set 4 for main to change 93524 status Accepted Under Review <span data-processor="relativetime" data-value="2026-04-04T07:17:39+00:00" > 04/04/26, 07:17 </span>

  4. Georg Ringer commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-04-17T18:49:29+00:00" > 04/17/26, 18:49 </span>

    change has been merged, don’T know why issue hasn’t been resolved, done now