Skip to content

Commit

Permalink
BUGFIX: Use omniscient content context configuration for node changes
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi committed May 24, 2023
1 parent c4bad62 commit f300e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Classes/ContentRepository/Service/NodeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion Classes/TypeConverter/ChangeCollectionConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f300e93

Please sign in to comment.