From 6acb21f8f291714acb1c6ad496c36468cd71d015 Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Thu, 15 Aug 2024 14:26:21 +0200 Subject: [PATCH] TASK: Ensure migration works case sensitive and will end in a workspaceName with a leading letter. Also applying to baseWorkspaceName. --- .../Classes/Service/EventMigrationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php b/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php index 50eb79b7315..011e7b589ee 100644 --- a/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php +++ b/Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php @@ -406,7 +406,7 @@ public function migratePayloadToValidWorkspaceNames(\Closure $outputFn): void $affectedRowsBaseWorkspaceName = $this->connection->executeStatement($statementBaseWorkspaceName); $this->connection->commit(); - if ($affectedRowsWorkspaceName + $affectedRowsBaseWorkspaceName === 0) { + if ($affectedRowsWorkspaceName === 0 && $affectedRowsBaseWorkspaceName === 0) { $outputFn('Migration was not necessary.'); return; }