From 4bf5604f8d8490d038eb1f6953c9790970b017a8 Mon Sep 17 00:00:00 2001 From: bwaidelich Date: Fri, 11 Aug 2023 11:12:45 +0200 Subject: [PATCH] Fix maximumSequenceNumber in CR CLI controller --- .../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 1c79af84cb2..9ce435fdf15 100644 --- a/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php +++ b/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php @@ -56,7 +56,7 @@ public function replayCommand(string $projection, string $contentRepository = 'd // TODO start progress bar } $options = CatchUpOptions::create(); - if ($until !== null) { + if ($until > 0) { $options = $options->with(maximumSequenceNumber: SequenceNumber::fromInteger($until)); } $projectionService->replayProjection($projection, $options);