Bug #85229
Updated by Alexander Stehlik over 6 years ago
An invalid condition was introduced in @getAllSubpagesOfPage()@ in the @SuggestWizardDefaultReceiver@ in #77049:
<pre><code class="php">
$rows = array_column(($rows ?: []), 'uid', 'uid');
if (!count($rows)) {
$pageIds = array_keys($rows);
$pages = array_merge($pages, $pageIds);
} else {
break;
}
</code></pre>
The loop quits when there are **no** results!
h2. Hint for testing
The error is only relevant when a custom recursive PID list is used:
<pre>
TCEFORM.pages.content_from_pid.suggest.default {
pidList = 12
pidDepth = 99
}
</pre>