Bug #85229
closedInvalid condition in suggest receiver page collection
100%
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 }
Updated by Alexander Stehlik over 6 years ago
- Related to Task #77049: Doctrine: Migrate ext:backend/Form/Wizard/SuggestWizardDefaultReceiver added
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57194
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57194
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57194
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57336
Updated by Alexander Stehlik over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 52aa454e50647c9ffadc0314f7ff05b7b724294c.