Skip to content

Commit 9818f9a

Browse files
committed
BUGFIX: Adjust nodeindexqueue:build to updated identifier handling
1 parent 767044c commit 9818f9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Classes/Command/NodeIndexQueueCommandController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ protected function indexWorkspace($workspaceName, $indexPostfix)
235235

236236
foreach ($this->nodeDataRepository->iterate($iterator) as $data) {
237237
$jobData[] = [
238-
'nodeIdentifier' => $data['nodeIdentifier'],
238+
'persistenceObjectIdentifier' => $data['persistenceObjectIdentifier'],
239+
'identifier' => $data['identifier'],
239240
'dimensions' => $data['dimensions'],
240241
'workspace' => $workspaceName,
241242
'nodeType' => $data['nodeType'],

Classes/Domain/Repository/NodeDataRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function findAllBySiteAndWorkspace($workspaceName, $firstResult = 0, $max
3232
/** @var QueryBuilder $queryBuilder */
3333
$queryBuilder = $this->entityManager->createQueryBuilder();
3434

35-
$queryBuilder->select('n.Persistence_Object_Identifier nodeIdentifier, n.dimensionValues dimensions, n.nodeType nodeType, n.path path')
35+
$queryBuilder->select('n.Persistence_Object_Identifier persistenceObjectIdentifier, n.identifier identifier, n.dimensionValues dimensions, n.nodeType nodeType, n.path path')
3636
->from(NodeData::class, 'n')
3737
->where("n.workspace = :workspace AND n.removed = :removed AND n.movedTo IS NULL")
3838
->setFirstResult((integer)$firstResult)

0 commit comments

Comments
 (0)