Project

General

Profile

Actions

Bug #100863

open

Shortcut page url with id and non-existing language fails

Added by Stefan Terborg 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-05-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
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 #1

Updated by Stefan Terborg 12 months ago

Addition:
When opening an url https://www.your-site.com/index.php?id=Y&L=1 for a non-shortcut page Y the page is shown and the language parameter ignored.

Actions

Also available in: Atom PDF