Enhance import matching behaviors: add option to skip unmatched records and report in console instead of creating new records when no match is found
|Assignee:||Kelly Stewart||% Done:|
|Category:||Import/Export||Estimated time:||16.00 hours|
|Target version:||Release 2.4.0|
|Google Code Legacy ID:||Tested version:|
This issue will build upon some of the CSV and XML import matching behaviors previously sponsored for inclusion in 2.4.
Previous options for updating or deleting and replacing assume that when no match is found, a new record (e.g. description, authority record, repository record) is created.
This enhancement would give each of those options a secondary mode - instead of creating new records when no match is found, the job will instead produce a warning, skip the record, and move on. The user should then be able to go to the new job details page (see issue #9986) and see the output from the console, which will include a printout of which records have not matched, and therefore have been skipped.
Since we are hoping to make this work for both XML and CSV import, I guess we should try to use the title when printing the note in the log output (legacyID values are not found in the XML).
#7 Updated by Dan Gillean about 3 years ago
Documentation for the CSV part of this functionality added as a part of https://github.com/artefactual/atom-docs/commit/94ad54befffd1d803bd78793a99ced61474fa764
Still need to test and document the functionality as it relates to XML imports.
#8 Updated by Dan Gillean about 3 years ago
- Status changed from QA/Review to Verified
- Requires documentation deleted (
2.4 docs added in the following commits: