Add clear and update mode for csv:import
Closes #2208
Adds a new clear-and-update import mode for information objects. Here is a table outlining how this mode compares to the other modes:
| Feature | match-and-update | delete-and-replace | clear-and-update |
|---|---|---|---|
| Update all fields |
|
||
| * Can use regular import CSV | |||
| Optionally keep original digital object | |||
| Keep original legacy ID |
* The match-and-update CSV needs to be specially crafted to include only the fields that need to be updated. Using delete-and-replace or clear-and-update, "what you see is what you get" with the import CSV. One important distinction is that an empty field in a match and update CSV is ignored, but an empty field in a "regular" import CSV means that field will not have content in the final updated description.
For now, this is a proof of concept that shows that this is possible. More discussion is likely needed to determine whether this is a valuable feature to add to AtoM.