Skip to content

Commit

Permalink
Merge pull request #4400 from grebaldi/bugfix/prune-command-replay-all
Browse files Browse the repository at this point in the history
BUGFIX: Consistently use correct cr identifier across delegated cr:* commands
  • Loading branch information
bwaidelich authored Jul 11, 2023
2 parents 818d27c + 336d261 commit 093cd64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ public function pruneCommand(string $contentRepository = 'default'): void
);
$workspaceMaintenanceService->pruneAll();

$this->replayAllCommand();
$this->replayAllCommand($contentRepository);
}
}
2 changes: 1 addition & 1 deletion Neos.Neos/Classes/Command/CrCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function importCommand(string $path, string $contentRepository = 'default
}

$this->outputLine('Replaying projections');
Scripts::executeCommand('neos.contentrepositoryregistry:cr:replayall', $this->flowSettings, false, ['contentRepositoryIdentifier' => $contentRepositoryId->value]);
Scripts::executeCommand('neos.contentrepositoryregistry:cr:replayall', $this->flowSettings, false, ['contentRepository' => $contentRepositoryId->value]);

$this->outputLine('<success>Done</success>');
}
Expand Down

0 comments on commit 093cd64

Please sign in to comment.