CSV authority record import task --index option not working as expected
|Assignee:||Michelle Curran||% Done:|
|Target version:||Release 2.5.0|
|Google Code Legacy ID:||Tested version:||2.5|
The --index flag is getting overwritten when the relations file is being included.
You can see the value is being assigned at the top of the highlighted block here, then $import is being reassigned a new copy of the QubitFlatfileImport object at the bottom of the highlighted area:
The $import->csv method requires this option to be set before being called. This task creates a new instance of QubitFlatFileImport and assigns it to $import three times. Ensure that the --index flag is assigned each time $import is reassigned.