From 10073c51b71dd6c8c5bc7a838cdbe7d06ea0a6b3 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:30:44 +0200 Subject: [PATCH] BUGFIX: cr:projectionReplay cli progress advancing --- .../Classes/Command/CrCommandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php b/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php index 47ab58afc2a..bbbbd040254 100644 --- a/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php +++ b/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php @@ -128,7 +128,7 @@ public function projectionReplayCommand(string $projection, string $contentRepos if (!$quiet) { $this->outputLine('Replaying events for projection "%s" of Content Repository "%s" ...', [$projection, $contentRepositoryId->value]); $progressBar->start(max($until > 0 ? $until : $projectionService->highestSequenceNumber()->value, 1)); - $options->with(progressCallback: fn () => $progressBar->advance()); + $options = $options->with(progressCallback: fn () => $progressBar->advance()); } if ($until > 0) { $options = $options->with(maximumSequenceNumber: SequenceNumber::fromInteger($until));