pulibrary / dspace-cli

command line scripts accessing and modifying DSpace content
0 stars 0 forks source link

Senior theses batch_advance_workflow does not behave as expected #116

Closed bess closed 3 years ago

bess commented 3 years ago

I updated dspace-cli to the latest code on dataspace prod, where we have theses that are in the wrong import step.

Before: Screen Shot 2021-07-15 at 2 14 13 PM

Running script: Screen Shot 2021-07-15 at 2 18 03 PM

After: Screen Shot 2021-07-15 at 2 18 15 PM

Although the CLI indicated that the workflow was being advanced, it does not appear to have worked. Additionally, we now appear to have a second copy of the theses in this department.

UPDATE: After investigation on the command line, it appears there is not a second copy of the item. Perhaps it has just been added to the workflow queue twice?

jruby-9.2.13.0 :011 > sub_query.results.size
 => 93