#100863Shortcut page url with id and non-existing language fails
Description
- Create a page with uid X as shortcut to another page.
- Having a site without languages, config.linkVars is not set
- Open browser with url: https://www.your-site.com/index.php?id=X&L=1
Expected result:
The target page is opened with resolved url and without language parameter
Experienced result:
The frontend breaks with message “The target page does not have a language with ID 1 configured in its site configuration.“
Code lines: typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:4800-4823
TYPO3 11.5.27
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Shortcut page url with id and non-existing language fails Resolves: #100863 Releases: main