curationexperts / epigaea

A MIRA replacement running on Hyrax 2.0
Other
1 stars 2 forks source link

Batch import doesn't work with multiple files #772

Closed val99erie closed 6 years ago

val99erie commented 6 years ago

Steps to reproduce the problem:

$ touch docs/pdf-sample.pdf
$ touch docs/another-file.txt

Expected Behavior:

If you wait a few seconds (long enough for background jobs to run), the batch status will change to 'Complete' and you will see a link for the newly-created record. If you click the link, you'll see the new record with your 2 files correctly attached to it.

Actual Behavior:

If you wait and reload the page, the batch status is still 'Unavailable', and if you visit http://localhost:3000/sidekiq/queues, notice that no new jobs have been queued or processed.

Note:

If you remove one of the two filename entries from doc/all_inputs.xml, then the import will work as expected.

no-reply commented 6 years ago

I just ran through these instructions on http://epigaea.curationexperts.com and got the expected behavior. see: http://epigaea.curationexperts.com/xml_imports/50

bess commented 6 years ago

I can't reproduce this either. @val99erie Are you still seeing this?

val99erie commented 6 years ago

@bess Sorry, there was some discussion on slack that didn't get added to this ticket. Tom realized that the order that the files are uploaded in the UI affects whether or not the error happens. I think he's working on a solution.

bess commented 6 years ago

@no-reply I'm re-assigning this to you, since it sounds like you're working on it with more context than I have