Commit 69bce401 authored by Chivy Lim's avatar Chivy Lim

Merge branch 'KIME-4583' into 'master'

Hotfix and improvement



See merge request !19
parents fead7d77 7690902b
......@@ -129,6 +129,13 @@ class SpreadsheetImportService {
return $this;
}
/**
* @return \WE\SpreadsheetImport\Domain\Model\SpreadsheetImport
*/
public function getSpreadsheetImport() {
return $this->spreadsheetImport;
}
/**
* Returns the annotation properties of the related domain model with the property name as key.
*
......@@ -247,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