Project

General

Profile

Actions

Bug #102694

open

Shortcuts do not respect different settings in alternative languages

Added by Peter Kraume 4 months ago. Updated about 2 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2023-12-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The TYPO3 Core does not respect different settings for shortcut target and shortcut mode in alternative languages.

Szenario:
  • Setup with multiple languages
  • Shortcut page with default language and shortcut target page A
  • Translation of the above mentioned page with target page B
  • Menu containing the above mentioned shortcut page

Current behaviour:
TYPO3 tries to link the shortcut page to the shortcut target from the default language. If that page isn't translated, doNotLinkIt = 1 is applied to that link and the menu shows only the link text but unlinked.

Attached is a simple demo site (t3d export and site configuration) to reproduce the problem.

All this applies to TYPO3 v11. In v12 the PageRepository was reworked and there I was not able to reproduce the error.


Files

shortcut.xml (24.2 KB) shortcut.xml T3D Export with pages and TypoScript template Peter Kraume, 2023-12-19 08:30
config.yaml (590 Bytes) config.yaml Site Configuration Peter Kraume, 2023-12-19 08:30
Actions #1

Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82254

Actions #2

Updated by Gerrit Code Review 3 months ago

Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82254

Actions #3

Updated by Daniel Siepmann about 2 months ago · Edited

We have the same issue in v12. Also the hidden property of the translated page is not respected. Linking to the page of type shortcut in foreign language will generate the link, no matter whether the page is actual available in that language.

I also wonder what might happen if the translated page is not a Shortcut but Standard …

Actions

Also available in: Atom PDF