Project

General

Profile

Actions

Bug #100809

open

Undefined array key when translated shortcut has shortcut as target

Added by Michael Semle 12 months ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
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

Actions #1

Updated by Benni Mack 11 months ago

  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Łukasz Uznański 9 months 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 9 months 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 9 months ago

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

Updated by Josef Glatz about 2 months ago · Edited

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

Actions

Also available in: Atom PDF