UCSCLibrary / ucsc-library-digital-collections

A rails app based on Hyrax to be used as a repository for UCSC library digital collections.
1 stars 2 forks source link

Batch item edit error #9

Closed NedHenry closed 6 years ago

NedHenry commented 7 years ago

Originally reported by: Edward Henry (Bitbucket: ethenry, GitHub: ethenry)


Admins selecting multiple items and clicking "edit selection" is producing an error page on the production site.


NedHenry commented 7 years ago

Original comment by Edward Henry (Bitbucket: ethenry, GitHub: ethenry):


Resolved, with the caveat that you still get an error if you try to batch edit items of different work types

NedHenry commented 7 years ago

Original comment by Edward Henry (Bitbucket: ethenry, GitHub: ethenry):


Fixed this on staging, will roll out fix to production soon

NedHenry commented 7 years ago

Original comment by Edward Henry (Bitbucket: ethenry, GitHub: ethenry):


The built-in batch editing functionality allows users to select groups of items and then click "edit selected" to edit properties of these items in bulk. Metadata can be added and administrative properties such as public visibility can be edited. A maximum of between 20 and 50 items may be edited this way at a time. This feature would not solve all of our bulk metadata editing needs, but it is definitely helpful for administrators. Currently, it works fine for the default work type, but fails for custom work types (such as Lectures and Courses). I am looking for a quick an interim fix. The next major upgrade (to hyrax) will definitely fix this problem. For large bulk metadata edits & metadata replacement, we should plan to use the same workflow as uploading new metadata (csv import functionality is currently in development).