Review 13.4 Abandoned

89385[BUGFIX] Ensure non-absolute paths for AssetRenderer

Stefan Bürk CR 0 V 0 Normal +235 −11 updated 11/13/25, 21:27

Commit message

When using
<f:asset.css identifier="test" href="EXT:my_ext/Resources/Public/Css/foo.css" />
then the EXT: syntax is already resolved when calling
"AssetRenderer->getAbsoluteWebPath()" which would never
be transformed, as it is not prefixed
with "EXT:" nor is it prefixed with the Public Path.

This happened because "PathUtility::getAbsoluteWebPath()"
wasn't called anymore all the time with #104460.

Calling PathUtility::getAbsoluteWebPath() actually transforms
the vendor/my-vendor/my-extension/Resources/Public/Css/foo.css
to "/_assets/{hash}/Css/foo.css" which can then be prefixed
with the Public Path, then, thrown into
createVersionNumberedFilename().

As with the previous change, "PathUtility::getAbsoluteWebPath()"
is now called again at any time.

Review

  • Code review CR 0
  • Verified V 0
    • core-ci +1 CI

Issues 2

Files 2

Review log 34

  1. Stefan Bürk commented on patch set 1 05/14/25, 09:41

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 05/14/25, 09:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78899

  3. Benni Mack marked it work in progress 05/14/25, 12:06

  4. Benni Mack abandoned the change 11/13/25, 21:27