Project

General

Profile

Actions

Bug #100863

open

Shortcut page url with id and non-existing language fails

Added by Stefan Terborg over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2023-05-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
possible-dupe
Complexity:
Is Regression:
Sprint Focus:

Description

Reproduce:
  1. Create a page with uid X as shortcut to another page.
  2. Having a site without languages, config.linkVars is not set
  3. 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

Actions

Also available in: Atom PDF