Actions
Bug #100809
openUndefined array key when translated shortcut has shortcut as target
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
- 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
Updated by Łukasz Uznański 10 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.
Updated by Łukasz Uznański 10 months ago
Updated by Łukasz Uznański 10 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.
Updated by Benni Mack 9 months ago
- Sprint Focus changed from Stabilization Sprint to On Location Sprint
Updated by Josef Glatz 2 months ago · Edited
I can also reproduce the bug in TYPO3 11 LTS only via the Preview-Button in the TYPO3 backend.
Actions