Bug #100809
closedUndefined array key when translated shortcut has shortcut as target
0%
Description
- 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 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.
Updated by Łukasz Uznański over 1 year ago
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.
Updated by Benni Mack over 1 year ago
- Sprint Focus changed from Stabilization Sprint to On Location Sprint
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.
Updated by Garvin Hicking 4 months ago
- Category set to Site Handling, Site Sets & Routing
Updated by Riccardo De Contardi 3 months ago
- Related to Bug #99518: Custom page shortcut target for translated page causes errors added
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)
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