Review main Merged

73634[TASK] Set "TSFE->requestedId" early in the process

Benni Mack CR +2 V +2 Easy +5 −8 updated 02/22/22, 07:10

Commit message

The property "TSFE->requestedId" contains the
ID of the page that was initially requested.

Due to Site Handling and native URL Routing
since TYPO3 v9, this variable can be set initially
and not within determineId() / fetch_the_id(),
thus much earlier.

This way the property has no side-effects
when using $tsfe->getRequestedId() and just returns
the property as set in the constructor / setPageArguments().

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1