hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Batch Editing works throws error

Open SixtyGrit opened this issue 4 months ago • 1 comments

Descriptive summary

Attempting to batch edit single or multiple works throws an error. Tested on works that can be edited successfully from work page.

Steps to reproduce

  1. Go to works
  2. Select multiple
  3. Click "Edit"

Expected behavior

The expected behavior / design of the batch edit works functionality is not clear.

Actual behavior

An error screen appears

Suggested Fix

Because the featureset has become complex to enable and maintain, we propose limiting / reducing the scope of batch editing to only permissions of the selected works. This can be done agnostic of work type and metadata configuration, making the feature valuable to most common use cases, without introducing additional validation logic, complex UI, and maintenance and testing issues.

Issue Links

https://github.com/samvera/hyrax/issues/5797

SixtyGrit avatar Aug 12 '25 18:08 SixtyGrit

@SixtyGrit I followed these steps and did not experience the error on pg.nurax.samvera.org

I added values for Date Created and Publisher to:

  1. https://pg.nurax.samvera.org/concern/generic_works/ab423a53-40fe-41f3-b0a4-2a718b32e855?locale=en
  2. https://pg.nurax.samvera.org/concern/generic_works/07c473fe-8405-434a-86b2-ff3e46d99a87?locale=en
  3. https://pg.nurax.samvera.org/concern/generic_works/fdb930d6-93ac-401e-814f-ad2c038d6312?locale=en

There is a story to reformat and refine the Batch Edit page: https://github.com/samvera/hyrax/issues/7071

nhomenda avatar Aug 12 '25 20:08 nhomenda