From f300e933836926bb563f7283bf702634b2feb98c Mon Sep 17 00:00:00 2001 From: Wilhelm Behncke Date: Wed, 24 May 2023 20:41:12 +0200 Subject: [PATCH] BUGFIX: Use omniscient content context configuration for node changes --- Classes/ContentRepository/Service/NodeService.php | 1 + Classes/TypeConverter/ChangeCollectionConverter.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/ContentRepository/Service/NodeService.php b/Classes/ContentRepository/Service/NodeService.php index 49ccb8492a..0e725bb277 100644 --- a/Classes/ContentRepository/Service/NodeService.php +++ b/Classes/ContentRepository/Service/NodeService.php @@ -103,6 +103,7 @@ public function getNodeFromContextPath($contextPath, Site $site = null, Domain $ if ($includeAll === true) { $contextProperties['invisibleContentShown'] = true; $contextProperties['removedContentShown'] = true; + $contextProperties['inaccessibleContentShown'] = true; } $context = $this->contextFactory->create( diff --git a/Classes/TypeConverter/ChangeCollectionConverter.php b/Classes/TypeConverter/ChangeCollectionConverter.php index c76b48eb96..3ef27ca101 100644 --- a/Classes/TypeConverter/ChangeCollectionConverter.php +++ b/Classes/TypeConverter/ChangeCollectionConverter.php @@ -137,7 +137,7 @@ protected function convertChangeData($changeData) $changeClassInstance->injectPersistenceManager($this->persistenceManager); $subjectContextPath = $changeData['subject']; - $subject = $this->nodeService->getNodeFromContextPath($subjectContextPath); + $subject = $this->nodeService->getNodeFromContextPath($subjectContextPath, null, null, true); if ($subject instanceof Error) { return $subject;