samvera-labs / nurax-pg

This is a Hyrax application configured to use Postgres for metadata storage instead of ActiveFedora.
Apache License 2.0
0 stars 0 forks source link

Saving a new admin set raises `undefined internal_reosurce` #28

Closed elrayle closed 2 years ago

elrayle commented 2 years ago

Descriptive summary

When using the postgres adapter in nurax-pg, creating an admin set through the new admin set form raises undefined internal_resource when the admin set is saved.

Rationale

Editing should work for wings adapter and non-wings adapters.

Expected behavior

Creating and saving a new Admin Set with the postgres adapter fully saves the new admin set.

Actual behavior

Creating and saving a new Admin Set with the postgres adapter raises an exception.

image

Steps to reproduce the behavior

  1. Login to nurax-pg
  2. Dashboard -> Collections -> New Collection
  3. Select Admin Set
  4. Fill in required metadata
  5. Save

raises an exception

Related work

Issue https://github.com/samvera/hyrax/issues/5130 - Val MVP: Create AdministrativeSet as a valkyrie resource through UI

gamontoya commented 2 years ago

@jlhardes I can't test this since I don't have Admin Set as one of the collection type options.

jlhardes commented 2 years ago

I can create and edit an Admin Set on nurax-pg so this is working. Closing as fixed!