#83581Logical error while checking validity of a shortcut
Description
The function getSubpagesForPages in Class TYPO3\CMS\Frontend\Page\PageRepository uses the constraints given to filter the resulting subpages to also check if the target of a shortcut is valid. The validity of a shortcut target (as the comment line above the function call in question says: “If shortcut, look up if the target exists and is currently visible”) should only depend on its existence and visibility and not any other constraints used to filter the result of getSubpagesOfPages (e.g. a shortcut itself).
Reviews 3
- main 74357[WIP][TASK] Don't transitively hide shortcuts in the menu
- main 55377[BUGFIX] Constraint in PageRepository::getSubpagesForPages()
- TYPO3_8-7 55378[BUGFIX] Fix logical bug in function getSubpagesForPages in PageRepository
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch
- Commit message
-
[BUGFIX] Logical error while checking validity of a shortcut Resolves: #83581 Releases: main