Collect unmapped entries in dry-run mode
See museum-digital/importer#235
This commit is contained in:
25 files changed
+152
-29
No files matched your search
@@ -65,7 +65,8 @@ final class MDConcOwnershipStatus implements MDImporterConcordanceListInterface
|
||||
if (isset(self::OWNERSHIP_TYPES_VERBOSE[trim($input)])) {
|
||||
return self::OWNERSHIP_TYPES_VERBOSE[trim($input)];
|
||||
}
|
||||
throw MDImporterMissingConcordance::setup("ownership", $input);
|
||||
MDImporterMissingConcordance::throw("ownership", $input);
|
||||
return 'deaccessed'; // Return default in dry-run mode
|
||||
}
|
||||
|
||||
return self::OWNERSHIP_TYPES_VERBOSE[$input];
|
||||
|
||||
Reference in new issue
Block a user