File tree Expand file tree Collapse file tree
Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,10 +115,10 @@ public function flushQueues() {
115115 /** @var \TYPO3\TYPO3CR\Domain\Model\NodeInterface $nodeToBeIndexed */
116116 foreach ($ this ->nodesToBeIndexed as $ nodeToBeIndexed ) {
117117 if (!isset ($ this ->targetWorkspaceNamesForNodesToBeIndexed [$ nodeToBeIndexed ->getContextPath ()])) {
118- // No target workspace for indexing found
119- continue ;
118+ $ this ->nodeIndexer ->indexNode ($ nodeToBeIndexed );
119+ } else {
120+ $ this ->nodeIndexer ->indexNode ($ nodeToBeIndexed , $ this ->targetWorkspaceNamesForNodesToBeIndexed [$ nodeToBeIndexed ->getWorkspace ()->getName ()]);
120121 }
121- $ this ->nodeIndexer ->indexNode ($ nodeToBeIndexed , $ this ->targetWorkspaceNamesForNodesToBeIndexed [$ nodeToBeIndexed ->getWorkspace ()->getName ()]);
122122 }
123123
124124 foreach ($ this ->nodesToBeRemoved as $ nodeToBeRemoved ) {
You can’t perform that action at this time.
0 commit comments