Commit 394458e1 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

fix : cast archive object to prevent bug on import

parent a621407f
......@@ -105,6 +105,7 @@ class digitalSafe
}
try {
$archive = \laabs::castMessage($archive, 'recordsManagement/archive');
$archiveId = $this->archiveController->receive($archive, false);
$archive = $this->sdoFactory->read('recordsManagement/archive', $archiveId);
} catch (\Exception $e) {
......
Supports Markdown
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