Skip to content

Commit

Permalink
Fix issue with import statuses: hash ID for Import Jobstore (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeder authored Jan 24, 2025
1 parent 4d5eb71 commit 5a1bd68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct(
LoggerInterface $loggerChannel,
DatastoreService $service,
ResourcePurger $resourcePurger,
ImportJobStoreFactory $importJobStoreFactory
ImportJobStoreFactory $importJobStoreFactory,
) {
$this->configFactory = $config_factory;
$this->logger = $loggerChannel;
Expand Down
2 changes: 1 addition & 1 deletion modules/datastore/src/Service/ImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5a1bd68

Please sign in to comment.