Actions
Bug #99838
closed_SHORTCUT_ORIGINAL_PAGE_UID set to wrong value
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-02-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The _SHORTCUT_ORIGINAL_PAGE_UID property set in PageRepository->resolveShortcutPage has the value of the resolved page uid, shouldn't this be the uid of the shortcut original page instead?
Original code:
$page = $shortcut;
$page['_SHORTCUT_ORIGINAL_PAGE_UID'] = $page['uid'];
Fixed code:
$shortcutOriginalPageUid= $page['uid'];
$page = $shortcut;
$page['_SHORTCUT_ORIGINAL_PAGE_UID'] = $shortcutOriginalPageUid;
Actions