Actions
Bug #85229
closedInvalid condition in suggest receiver page collection
Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-06-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
An invalid condition was introduced in getAllSubpagesOfPage()
in the SuggestWizardDefaultReceiver
in #77049:
$rows = array_column(($rows ?: []), 'uid', 'uid');
if (!count($rows)) {
$pageIds = array_keys($rows);
$pages = array_merge($pages, $pageIds);
} else {
break;
}
The loop quits when there are no results!
Hint for testing¶
The error is only relevant when a custom recursive PID list is used:
TCEFORM.pages.content_from_pid.suggest.default { pidList = 12 pidDepth = 99 }
Actions