diff --git a/modules/datastore/src/EventSubscriber/DatastoreSubscriber.php b/modules/datastore/src/EventSubscriber/DatastoreSubscriber.php index c7a7a736f9..a7e954147f 100644 --- a/modules/datastore/src/EventSubscriber/DatastoreSubscriber.php +++ b/modules/datastore/src/EventSubscriber/DatastoreSubscriber.php @@ -82,7 +82,7 @@ public function __construct( LoggerInterface $loggerChannel, DatastoreService $service, ResourcePurger $resourcePurger, - ImportJobStoreFactory $importJobStoreFactory + ImportJobStoreFactory $importJobStoreFactory, ) { $this->configFactory = $config_factory; $this->logger = $loggerChannel; diff --git a/modules/datastore/src/Service/ImportService.php b/modules/datastore/src/Service/ImportService.php index 878e7dc1dd..273cd8e063 100644 --- a/modules/datastore/src/Service/ImportService.php +++ b/modules/datastore/src/Service/ImportService.php @@ -195,7 +195,7 @@ public function getImporter(): ImportJob { } $this->importJob = call_user_func([$this->importerClass, 'get'], - $data_resource->getUniqueIdentifier(), + md5($data_resource->getUniqueIdentifier()), $this->importJobStoreFactory->getInstance(), [ "storage" => $this->getStorage(),