Skip to content

[TASK] Backport fixes from v5 branch - #918

Open
twoldanski wants to merge 3 commits into
4.xfrom
task/back-port-fixes-from-v5
Open

twoldanski wants to merge 3 commits into
4.xfrom
task/back-port-fixes-from-v5

Conversation

@twoldanski

Copy link
Copy Markdown
Collaborator

No description provided.

@coveralls

coveralls commented Oct 14, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 43443936208

Warning

No base build found for commit f200819 on 4.x.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 74.675%

Details

  • Patch coverage: 10 uncovered changes across 6 files (132 of 142 lines covered, 92.96%).

Uncovered Changes

File Changed Covered %
Classes/Middleware/CookieDomainPerSite.php 15 11 73.33%
Classes/DataProcessing/RootSiteProcessing/SiteProvider.php 2 0 0.0%
Classes/Event/Listener/AfterPagePreviewUriGeneratedListener.php 5 4 80.0%
Classes/Form/Service/FormTranslationService.php 1 0 0.0%
Classes/Utility/UrlUtility.php 43 42 97.67%
Classes/XClass/TemplateView.php 5 4 80.0%
Total (12 files) 142 132 92.96%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 1694
Covered Lines: 1265
Line Coverage: 74.68%
Coverage Strength: 10.32 hits per line

💛 - Coveralls

… fixes

  Backport of #917, #921 and #922 from master for TYPO3 v12/v13,

  - UrlUtility: languages with their own host only match urls of that
    host, and the most specific base path wins. The root url of a
    path-based default language now matches too. The site base path is
    only stripped when the url actually starts with it.
  - FileUtility: a single crop variant not named "default" is now
    included in cropVariants, and each variant returns its autogenerated
    urls. Malformed crop data no longer breaks the response.
    Autogenerated images identical to the main image are not processed
    again. New opt-in option includeOriginal.
  - JsonContentObject: fields resolving to JSON (also via "< lib.x")
    run their data processors only once, so their own if and stdWrap
    apply. When no "as" matches, the last registered variable is used.

  Resolves: #912, #913, #914
  Related: #794, #871
@twoldanski
twoldanski force-pushed the task/back-port-fixes-from-v5 branch from 8dbb131 to 058d5fa Compare November 13, 2026 14:30
  Backport of #923 for TYPO3 v12/v13, without breaking changes.

  Add frontendFileApiByStorage (storage uid => URL, YAML-only). It
  resolves like frontendFileApi: a matching base variant replaces it,
  and a language can set its own map. The method lives in the new
  HeadlessStorageProxyUrlInterface, so custom implementations of
  HeadlessFrontendUrlInterface keep working.

  Also fix proxying of storage URLs:
    - a storage baseUri with its own host keeps the core URL
    - a path-only frontendFileApi uses the host of frontendBase
      instead of the API host

  Resolves: #919
@twoldanski
twoldanski force-pushed the task/back-port-fixes-from-v5 branch from 058d5fa to a6bed2e Compare November 13, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants