plugin.tx_solr.index.queue {
news {
table = tt_news
fields {
...
}
}
}
the indexing of a new record for this table will insert the wrong indexing configuration name (indexing_configuration) in the tx_solr_indexqueue_item table. It will insert "tt_news" instead of "news" and with this indexing_configuration the Indexer gets NULL instead of an array of the itemIndexingConfiguration because there is no configuration plugin.tx_solr.index.queue.tt_news.fields
.
The problem is in the Hook "processDatamap_afterDatabaseOperations" of ext-solr/Classes/IndexQueue/RecordMonitor.php line 232:
if ($this->isEnabledRecord($recordTable, $record)) {
$configurationName = NULL;
if ($recordTable !== 'pages') {
/* #232 */ $configurationName = $this->getIndexingConfigurationName($table, $uid);
}
$this->indexQueue->updateItem($recordTable, $recordUid, $configurationName);
}
if ($this->isEnabledRecord($recordTable, $record)) {
$configurationName = NULL;
if ($recordTable !== 'pages') {
/* #232 Changed: */ $configurationName = $this->getIndexingConfigurationName($recordTable, $recordUid);
}
$this->indexQueue->updateItem($recordTable, $recordUid, $configurationName);
}