Commit 7690902b authored by Simon Gadient's avatar Simon Gadient

[BUGFIX] Delete on import

Important fix as wrong id was stored for deletion.
parent d9eeedb9
......@@ -254,7 +254,7 @@ class SpreadsheetImportService {
continue;
}
$objectRepository->add($newObject);
$id = $this->persistenceManager->getIdentifierByObject($object);
$id = $this->persistenceManager->getIdentifierByObject($newObject);
$processedObjectIds[] = $id;
$this->log(vsprintf('Object %s for record %d inserted.', array($id, $recordNumber)), LOG_INFO);
$totalInserted++;
......
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