Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use site fallback for links on TYPO3v10 #29

Merged
merged 5 commits into from
Jan 12, 2021
Merged

Conversation

mbrodala
Copy link
Member

No description provided.

@mbrodala mbrodala force-pushed the typo3v10-links-site branch from 79cee6e to eba585b Compare January 12, 2021 12:25
In case no site could be resolved in the link building request (e.g. if
a development host is used not covered by site config), we now fall back
to the first site.

This basically reflects the PseudoSite handling which was dropped with
TYPO3v10 which was used since we did construct TSFE with a fixed page
UID "1".
Now that we fall back to the first site configuration we must make sure
URLs for that site's pages are absolute. After all, we cannot know in
which context search results will be rendered in the end.
This ensures that all internal logic in TypoScriptFrontendController
uses the same request attributes.
@mbrodala mbrodala force-pushed the typo3v10-links-site branch from eba585b to 54cd371 Compare January 12, 2021 12:35
@mbrodala mbrodala force-pushed the typo3v10-links-site branch from 8e983fe to 812fc28 Compare January 12, 2021 14:38
@mbrodala mbrodala marked this pull request as ready for review January 12, 2021 14:41
@mbrodala mbrodala merged commit ce344e6 into master Jan 12, 2021
@mbrodala mbrodala deleted the typo3v10-links-site branch January 12, 2021 14:42
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.

1 participant