Commit f9d6ee19 authored by Oliver Bartsch's avatar Oliver Bartsch

[BUGFIX] Use extension uid instead of key as indexQueue item identifier

parent 43a607ba
Pipeline #10225 passed with stages
in 6 minutes and 21 seconds
......@@ -66,7 +66,7 @@ abstract class AbstractService
{
if (ExtensionManagementUtility::isLoaded('solr')) {
$garbageCollector = GeneralUtility::makeInstance(GarbageCollector::class);
$garbageCollector->collectGarbage('tx_terfe2_domain_model_extension', $this->key);
$garbageCollector->collectGarbage('tx_terfe2_domain_model_extension', $this->extensionUid);
}
return $this;
......@@ -76,7 +76,7 @@ abstract class AbstractService
{
if (ExtensionManagementUtility::isLoaded('solr')) {
$indexQueue = GeneralUtility::makeInstance(Queue::class);
$indexQueue->updateItem('tx_terfe2_domain_model_extension', $this->key);
$indexQueue->updateItem('tx_terfe2_domain_model_extension', $this->extensionUid);
}
return $this;
......@@ -86,7 +86,7 @@ abstract class AbstractService
{
if (ExtensionManagementUtility::isLoaded('solr')) {
$indexQueue = GeneralUtility::makeInstance(Queue::class);
$indexQueue->deleteItem('tx_terfe2_domain_model_extension', $this->key);
$indexQueue->deleteItem('tx_terfe2_domain_model_extension', $this->extensionUid);
}
return $this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment