We have a massive number of nodes we're programmatically updating using $node->save();. This is being done on lots of legacy data that we just dont have the time to clean up as of yet.

In the file RedirectRepository.php, at line 86, this code is preventing our programmatic node saves from completing, in turn causing the updb to fail.

if (in_array($rid, $this->foundRedirects)) {
    throw new RedirectLoopException('/' . $source_path, $rid);
}

If we disable the exception our updb runs without issue. Is there a way to opt our and/or not cause failure for this exception?

Comments

erier created an issue. See original summary.

erier’s picture

Issue summary: View changes