Issue Bug Closed

#93216Include addRootLineFields in page tree controller

Nicole Hummel 01/04/21, 16:00 updated 11/09/26, 11:28

Description

Given:
- an own overlay for pages should be added using the $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][\TYPO3\CMS\Core\Imaging\IconFactory::class][‘overrideIconOverlay’]
- coming from \TYPO3\CMS\Backend\Controller\Page\TreeController::fetchDataAction only a hardcoded list of fields is available in a page record row

Expectation:
- page records are fetched with fields from $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘addRootLineFields’]

Actual:
- only static fields are fetched (see \TYPO3\CMS\Backend\Controller\Page\TreeController::getPageTreeRepository)

Reviews 2

History 13

  1. Benni Mack commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-11-09T11:28:49+00:00" > 11/09/26, 11:28 </span>

    Re-checked on main (v15): the premises of this issue no longer exist. $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘addRootLineFields’] was deprecated in 13.2 (#103752) and removed, and the overrideIconOverlay hook was replaced by ModifyRecordOverlayIconIdentifierEvent (#101603). For custom overlays in the page tree, use AfterPageTreeItemsPreparedEvent, which provides each item’s overlayIcon and the page row in _page; additional page fields can be fetched in that listener. Closing as obsolete. If a configurable list of additional page tree fields is needed, please open a feature request.