Project

General

Profile

Actions

Bug #102694

closed

Shortcuts do not respect different settings in alternative languages

Added by Peter Kraume 12 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & 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

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102339: Typo3 11 PageLinkBuilder does not take shortcut_mode and target of translated page into accountNew2023-11-07

Actions
Actions #1

Updated by Gerrit Code Review 12 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 11 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 9 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 #4

Updated by Georg Ringer 6 months ago

  • Related to Bug #102339: Typo3 11 PageLinkBuilder does not take shortcut_mode and target of translated page into account added
Actions #5

Updated by Benni Mack about 1 month ago

  • Status changed from Under Review to Closed

Fixed in v12, and free v11 support ends today. Sorry Peter!

Actions

Also available in: Atom PDF