Add '--attach-only' option to the digitalobject:load CLI task
|Target version:||Release 2.6.0|
|Google Code Legacy ID:||Tested version:||1.2|
Add new option to the CLI digitalobject:load CLI task: --attach-only
When set, this option will force all digital objects in the import CSV file to be attached via their own information object record.
Prior to this option being added, the import task had two different behaviours:
1) in the import spreadsheet, if there were only one digital object to be imported to a description, then the digital object would be 'linked' to the information object. If a second csv load attempted to load a second single digital object to this description, the digital object would not be loaded and an error would be generated stating that this description already had an object linked.
2) in the import spreadsheet, if there is more than one digital object to be imported to a description, then the digital objects would be 'attached' to the information object via their own information object records. If more digital objects were loaded in a second CSV, these objects would also be attached in the same way.
Effectively when this option is ON, all imported digital objects will be imported as in (2) above - all digital objects will be attached regardless of how many are in the import file.