Issue Bug Under Review

#107347pageType can't be reset with UriBuilder and link viewhelpers

Markus Klein 08/28/25, 20:45 updated 11/11/26, 10:34

Description

f:link.action and f:uri.action ignore any pageType=0 argument.
This leads to core using the current page type.

This is a problem for instance in RSS feeds, like the one from TER
https://git.typo3.org/services/t3o-sites/extensions.typo3.org/ter/-/blob/develop/extensions/ter_fe2/Resources/Private/Templates/Extension/ListLatest.html?ref_type=heads

The RSS feed shall contain links to the default pageType, but all links are generated using the current pageType (the one for the RSS feed).

Reviews 1

History 728

Show 13 earlier messages
  1. Markus Klein commented <span data-processor="relativetime" data-value="2025-08-28T20:46:09+00:00" > 08/28/25, 20:46 </span>

    Affected locations:
    typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php:218
    typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php#L538-L538