nulib / arch

Northwestern University institutional repository, built on Samvera's Hyrax gem.
2 stars 0 forks source link

Batch Upload not working in Arch/Hyrax Upgrade #221

Closed kdid closed 7 years ago

kdid commented 7 years ago
  1. Click on Batch Create and upload works and fill out metadata

screen shot 2017-05-25 at 10 27 47 am

  1. Click submit

Expected: works are created

Actual: "incomplete response received by application". Works are not created.

screen shot 2017-05-25 at 10 27 07 am

May be related to #219 and #220

kdid commented 7 years ago

We tracked this down to this error:

App 15077 stderr: [ 2017-05-30 13:14:52.6057 15156/0x007fae35506438(Worker 1) utils.rb:87 ]: *** Exception ActiveRecord::SubclassNotFound in Rack application object (The single-table inheritance mechanism failed to locate the subclass: 'Sufia::BatchCreateOperation'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Hyrax::Operation.inheritance_column to use another column for that information.) (process 15156, thread 0x007fae35506438(Worker 1)):

We manually updated the data in the type column of the curation_concerns_operation from Sufia::BatchCreateOperation to Hyrax::BatchCreateOperation. Will need to do on production as well.