Commit 9e5c7a5b authored by Thomas Löffler's avatar Thomas Löffler

Merge branch...

Merge branch '502-extension-last-update-is-not-updated-correctly-when-using-the-rest-api' into 'develop'

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

Closes #502

See merge request services/extensions.typo3.org/ter!631
parents 43a607ba f9d6ee19
Pipeline #10226 passed with stages
in 16 minutes and 17 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