Project

General

Profile

Actions

Bug #83581

open

Logical error while checking validity of a shortcut

Added by David Otto over 6 years ago. Updated over 1 year ago.

Status:
New
Priority:
Must have
Category:
Frontend
Start date:
2018-01-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Remote Sprint

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).

Actions

Also available in: Atom PDF