Project

General

Profile

Actions

Bug #100809

closed

Undefined array key when translated shortcut has shortcut as target

Added by Michael Semle over 1 year ago. Updated 3 months ago.

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

0%

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

Description

Sytem:
  • Core v11
  • no third party extensions
Reproduce:
  • Create content page and translate. (uid 3)
  • Create page as shortcut (Shortcut 1) and translate. (uid 4). The target of the shortcut points to the content page with uid 3.
  • Create second page as shortcut (Shortcut 2) and translate. (uid 5). The target of the shortcut points to the shortcut page with uid 4.
  • Use preview button on translation of shortcut page with uid 5.

Exception:
PHP Warning: Undefined array key "uid" in /var/www/html/typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 1101

In default translation everything works.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99518: Custom page shortcut target for translated page causes errorsClosed2023-01-11

Actions
Actions #1

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Łukasz Uznański over 1 year ago

v12 works just fine.

In terms of v11, I get following error, so it looks like this behavior leads to unexpected results. Will try to inspect further.

Actions #4

Updated by Łukasz Uznański over 1 year ago

@Michael Semle could you give exact version of TYPO3? Because I have other error, which is easy fixable, and there is possibility that your issue is actually resolved.

Actions #5

Updated by Benni Mack over 1 year ago

  • Sprint Focus changed from Stabilization Sprint to On Location Sprint
Actions #6

Updated by Josef Glatz 9 months ago · Edited

I can also reproduce the bug in TYPO3 11 LTS only via the Preview-Button in the TYPO3 backend.

Actions #7

Updated by Garvin Hicking 4 months ago

  • Category set to Site Handling, Site Sets & Routing
Actions #8

Updated by Riccardo De Contardi 3 months ago

  • Related to Bug #99518: Custom page shortcut target for translated page causes errors added
Actions #9

Updated by Riccardo De Contardi 3 months ago

This looks still present on TYPO3 11.5.39 but resolved on 12 and 13 (latest main)

Actions #10

Updated by Riccardo De Contardi 3 months ago

  • Status changed from New to Closed

Sorry but I close this issue as it seems solved on version 12 and higher. If you think that this is the wrong decision or experience the issue again or I have misunderstood something, please reopen it or ping me on Slack and I'll do it

Thank you

Actions

Also available in: Atom PDF