From 333eaaa0853a0983e02b0fdca5ff6414a2afb231 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:08:12 +0200 Subject: [PATCH] TASK: Fix `I expect the content stream "user-cs-identifier" to not exist` The step was previously introduced via https://github.com/neos/neos-development-collection/commit/433f3698d0c66499666f9a31fdd60d63e6f38c04 but wrongly implemented. see also https://github.com/neos/neos-development-collection/pull/5096#discussion_r1783514808 --- src/ContentRepositoryReadModelAdapter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ContentRepositoryReadModelAdapter.php b/src/ContentRepositoryReadModelAdapter.php index 528b38d..71bbb24 100644 --- a/src/ContentRepositoryReadModelAdapter.php +++ b/src/ContentRepositoryReadModelAdapter.php @@ -101,6 +101,7 @@ public function findContentStreamById(ContentStreamId $contentStreamId): ?Conten {$this->tableNames->contentStream()} WHERE id = :contentStreamId + AND removed = FALSE LIMIT 1 SQL; try { @@ -123,6 +124,8 @@ public function findContentStreams(): ContentStreams id, sourceContentStreamId, status, version FROM {$this->tableNames->contentStream()} + WHERE + removed = FALSE SQL; try { $rows = $this->dbal->fetchAllAssociative($contentStreamsStatement);